#1F405C#1F405C
#1F405C is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.0% C 0.062 H 246.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F405C |
|---|---|
| RGB | rgb(31, 64, 92) |
| HSL | hsl(208, 50%, 24%) |
| HSV | hsv(208, 66%, 36%) |
| CMYK | cmyk(66.3%, 30.4%, 0%, 63.9%) |
| CIE-LAB | lab(25.95, -2.26, -20.27) |
| CIE-LCH | lch(25.95, 20.40, 263.63°) |
| OKLab | oklab(36.04% -0.0251 -0.0571) |
| OKLCH | oklch(36.04% 0.062 246.3) |
| XYZ | xyz(4.3295, 4.7304, 10.8080) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Slate Blue
#214761
ΔE00 3.00
Dark Grey Blue
#29465B
ΔE00 3.52
Dark Blue Grey
#1F3B4D
ΔE00 4.43
Prussian Blue
#004577
ΔE00 4.90
Marine Blue
#01386A
ΔE00 5.16
Twilight Blue
#0A437A
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F405C #5C3B1F
analogous
#1F5C5A #1F405C #1F225C
triadic
#1F405C #5C1F40 #405C1F
tetradic
#1F405C #5A1F5C #5C3B1F #225C1F
square
#1F405C #5A1F5C #5C3B1F #225C1F
split-complementary
#1F405C #5C1F22 #5C5A1F
monochromatic
#081017 #10202E #1F405C #2E608A #3E80B8
Accessibility & contrast
On white
10.79
#1F405C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1F405C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F405C
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F405C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F405C | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34415D
Deuteranopia (green-blind)
#2C3B5B
Tritanopia (blue-blind)
#00474A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f405c; /* rgb */ color: rgb(31, 64, 92); /* oklch */ color: oklch(36.0% 0.062 246.3);
Tailwind
colors: {
custom: {
50: '#61748a',
500: '#1f405c',
950: '#000000',
},
}SCSS
$custom: #1f405c; $custom-light: #61748a; $custom-dark: #000000;
JSON
{
"hex": "#1f405c",
"rgb": {
"r": 31,
"g": 64,
"b": 92
},
"hsl": {
"h": 207.541,
"s": 49.593,
"l": 24.118
},
"oklch": {
"l": 0.36037,
"c": 0.06235,
"h": 246.3
},
"luminance": 0.04731
}Semantic roles & 50–950 ramp
primary
#1F405C
secondary
#916846
accent
#8E4FD9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080B
muted
#7A7B7C