#1F456C#1F456C
#1F456C is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.3% C 0.080 H 251.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F456C |
|---|---|
| RGB | rgb(31, 69, 108) |
| HSL | hsl(210, 55%, 27%) |
| HSV | hsv(210, 71%, 42%) |
| CMYK | cmyk(71.3%, 36.1%, 0%, 57.6%) |
| CIE-LAB | lab(28.46, 0.57, -26.61) |
| CIE-LCH | lch(28.46, 26.62, 271.23°) |
| OKLab | oklab(38.29% -0.0257 -0.0755) |
| OKLCH | oklch(38.29% 0.08 251.2) |
| XYZ | xyz(5.3990, 5.6297, 14.9866) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Twilight Blue
#0A437A
ΔE00 2.52
Prussian Blue
#004577
ΔE00 2.55
Darkish Blue
#014182
ΔE00 3.61
Marine Blue
#01386A
ΔE00 4.41
Light Navy
#155084
ΔE00 4.60
Dark Slate Blue
#214761
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F456C #6C461F
analogous
#1F6C6C #1F456C #201F6C
triadic
#1F456C #6C1F45 #456C1F
tetradic
#1F456C #6C1F6C #6C461F #1F6C20
square
#1F456C #6C1F6C #6C461F #1F6C20
split-complementary
#1F456C #6C201F #6C6C1F
monochromatic
#070F18 #11273C #1F456C #2D639C #3E82C8
Accessibility & contrast
On white
9.88
#1F456C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#1F456C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F456C
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F456C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F456C | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34476E
Deuteranopia (green-blind)
#29406B
Tritanopia (blue-blind)
#004E53
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f456c; /* rgb */ color: rgb(31, 69, 108); /* oklch */ color: oklch(38.3% 0.080 251.2);
Tailwind
colors: {
custom: {
50: '#647896',
500: '#1f456c',
950: '#000000',
},
}SCSS
$custom: #1f456c; $custom-light: #647896; $custom-dark: #000000;
JSON
{
"hex": "#1f456c",
"rgb": {
"r": 31,
"g": 69,
"b": 108
},
"hsl": {
"h": 210.39,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.3829,
"c": 0.07973,
"h": 251.2
},
"luminance": 0.0563
}Semantic roles & 50–950 ramp
primary
#1F456C
secondary
#A07447
accent
#9549DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E