#1F3752#1F3752
#1F3752 is a dark, muted cyan. Relative luminance 0.036; OKLCH L 33.1% C 0.057 H 252.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3752 |
|---|---|
| RGB | rgb(31, 55, 82) |
| HSL | hsl(212, 45%, 22%) |
| HSV | hsv(212, 62%, 32%) |
| CMYK | cmyk(62.2%, 32.9%, 0%, 67.8%) |
| CIE-LAB | lab(22.42, 0.02, -19.24) |
| CIE-LCH | lch(22.42, 19.24, 270.05°) |
| OKLab | oklab(33.09% -0.0171 -0.0542) |
| OKLCH | oklch(33.09% 0.057 252.5) |
| XYZ | xyz(3.4537, 3.6326, 8.5002) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine Blue
#01386A
ΔE00 5.14
Dark Blue Grey
#1F3B4D
ΔE00 5.58
Marine
#042E60
ΔE00 5.60
Navy Blue
#1B2A4A
ΔE00 5.89
Dark Grey Blue
#29465B
ΔE00 6.40
Dark Slate Blue
#214761
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3752 #523A1F
analogous
#1F5152 #1F3752 #211F52
triadic
#1F3752 #521F37 #37521F
tetradic
#1F3752 #521F51 #523A1F #1F5221
square
#1F3752 #521F51 #523A1F #1F5221
split-complementary
#1F3752 #52211F #51521F
monochromatic
#080F16 #0E1926 #1F3752 #30557E #4173AB
Accessibility & contrast
On white
12.16
#1F3752 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1F3752 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3752
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3752 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3752 | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3853
Deuteranopia (green-blind)
#253351
Tritanopia (blue-blind)
#003D41
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1f3752; /* rgb */ color: rgb(31, 55, 82); /* oklch */ color: oklch(33.1% 0.057 252.5);
Tailwind
colors: {
custom: {
50: '#5f6d82',
500: '#1f3752',
950: '#000000',
},
}SCSS
$custom: #1f3752; $custom-light: #5f6d82; $custom-dark: #000000;
JSON
{
"hex": "#1f3752",
"rgb": {
"r": 31,
"g": 55,
"b": 82
},
"hsl": {
"h": 211.765,
"s": 45.133,
"l": 22.157
},
"oklch": {
"l": 0.33085,
"c": 0.05681,
"h": 252.5
},
"luminance": 0.03633
}Semantic roles & 50–950 ramp
primary
#1F3752
secondary
#876846
accent
#9853D5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05070A
muted
#797A7C