Màu có tên gần nhất · #306FAC
#306FAC
Màu có tên gần nhất: Matt Blue
#306FAC (rgb(48 111 172), hsl(210 56% 43%), oklch(0.53 0.116 250.3)) gần nhất với màu có tên Matt Blue. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#306FAC
oklch(0.53 0.116 250.3)
Chuyển đổi màu
- HEX
- #306fac
- RGB
- rgb(48 111 172)
- HSL
- hsl(210 56% 43%)
- HWB
- hwb(210 19% 33%)
- OKLCH
- oklch(0.53 0.116 250.3)
- OKLab
- oklab(0.53 -0.039 -0.109)
- CIE Lab
- lab(45.02 -4.58 -39.18)
- LCH
- lch(45.02 39.45 263.3)
- CMYK
- cmyk(72% 35% 0% 33%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 467DB5
- 5B8BBE
- 6F9AC6
- 83A8CF
- 97B6D7
- ACC5DF
- C0D3E7
- D5E2EF
- EAF0F7
Sắc đậm
- 286095
- 21517F
- 1A4269
- 133454
- 0C2740
- 061A2D
- 030E1B
- 01040B
- 000101
Sắc xám
- 3A71A8
- 4473A4
- 4C75A0
- 54779C
- 5C7997
- 647A93
- 6B7C8E
- 727D8A
- 797F85
Hòa sắc
Bổ túc +180°
- 306FAC
Matt Blue
- 955E00
≈ Raw Sienna
Tương đồng -30° +30°
- 306FAC
Matt Blue
- 007893
≈ Celestial
- 6062AD
≈ Bellflower
Bộ ba +120° +240°
- 306FAC
Matt Blue
- A34C5C
≈ Black Pudding
- 557929
≈ Luscious Lemongrass
Bổ túc chia +150° +210°
- 306FAC
Matt Blue
- A35134
≈ Alfajor Brown
- 7B6D00
≈ Sunlit Kelp Green
Bộ bốn +90° +180° +270°
- 306FAC
Matt Blue
- 974F80
≈ Verve Violet
- 955E00
≈ Raw Sienna
- 0D8054
≈ Irish Beauty
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 5.25:1 · APCA Lc 76
Ag
FailTrên nền đen
WCAG 3.99:1 · APCA Lc 26
Màu chữ tốt nhất: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
Đoạn mã
CSS
:root {
--matt-blue: #306fac;
--matt-blue-rgb: 48 111 172;
--matt-blue-oklch: oklch(0.53 0.116 250.3);
}
.element {
color: var(--matt-blue);
background-color: hsl(210 56% 43%);
border-color: oklch(0.53 0.116 250.3);
}Tailwind CSS v4
@theme {
--color-matt-blue: #306fac;
--color-matt-blue-50: #def8ff;
--color-matt-blue-100: #cdebff;
--color-matt-blue-200: #b1d8ff;
--color-matt-blue-300: #8cbbf2;
--color-matt-blue-400: #67a3e0;
--color-matt-blue-500: #438ad0;
--color-matt-blue-600: #3a75af;
--color-matt-blue-700: #2e5e8d;
--color-matt-blue-800: #1e4568;
--color-matt-blue-900: #133049;
--color-matt-blue-950: #051c30;
}SCSS
$matt-blue: #306fac;
$matt-blue-rgb: 48, 111, 172;
$matt-blue-light: mix(#fff, $matt-blue, 20%);
$matt-blue-dark: mix(#000, $matt-blue, 20%);
.element {
color: $matt-blue;
box-shadow: 0 0 0 2px rgba($matt-blue, 0.35);
}