#1F394A#1F394A
#1F394A is a dark, muted cyan. Relative luminance 0.037; OKLCH L 33.2% C 0.044 H 238.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1F394A |
|---|---|
| RGB | rgb(31, 57, 74) |
| HSL | hsl(204, 41%, 21%) |
| HSV | hsv(204, 58%, 29%) |
| CMYK | cmyk(58.1%, 23%, 0%, 71%) |
| CIE-LAB | lab(22.69, -4.27, -13.49) |
| CIE-LCH | lch(22.69, 14.15, 252.44°) |
| OKLab | oklab(33.17% -0.0229 -0.0376) |
| OKLCH | oklch(33.17% 0.044 238.7) |
| XYZ | xyz(3.2638, 3.7117, 7.0217) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 0.76
Dark Grey Blue
#29465B
ΔE00 4.42
Dark Slate Blue
#214761
ΔE00 5.44
Charcoal
#36454F
ΔE00 5.61
Gunmetal
#2A3439
ΔE00 6.46
Dark
#1B2431
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F394A #4A301F
analogous
#1F4A45 #1F394A #1F234A
triadic
#1F394A #4A1F39 #394A1F
tetradic
#1F394A #451F4A #4A301F #234A1F
square
#1F394A #451F4A #4A301F #234A1F
split-complementary
#1F394A #4A1F23 #4A451F
monochromatic
#091116 #0D181F #1F394A #315A75 #437BA0
Accessibility & contrast
On white
12.05
#1F394A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1F394A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F394A
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F394A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F394A | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31394B
Deuteranopia (green-blind)
#2B344A
Tritanopia (blue-blind)
#063D3F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1f394a; /* rgb */ color: rgb(31, 57, 74); /* oklch */ color: oklch(33.2% 0.044 238.7);
Tailwind
colors: {
custom: {
50: '#5e6f7c',
500: '#1f394a',
950: '#000000',
},
}SCSS
$custom: #1f394a; $custom-light: #5e6f7c; $custom-dark: #000000;
JSON
{
"hex": "#1f394a",
"rgb": {
"r": 31,
"g": 57,
"b": 74
},
"hsl": {
"h": 203.721,
"s": 40.952,
"l": 20.588
},
"oklch": {
"l": 0.3317,
"c": 0.04401,
"h": 238.7
},
"luminance": 0.03712
}Semantic roles & 50–950 ramp
primary
#1F394A
secondary
#7F5C46
accent
#8757D1
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#040709
muted
#797A7B