#1F206B#1F206B
#1F206B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.127 H 275.0°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1F206B |
|---|---|
| RGB | rgb(31, 32, 107) |
| HSL | hsl(239, 55%, 27%) |
| HSV | hsv(239, 71%, 42%) |
| CMYK | cmyk(71%, 70.1%, 0%, 58%) |
| CIE-LAB | lab(17.39, 26.05, -43.78) |
| CIE-LCH | lch(17.39, 50.94, 300.75°) |
| OKLab | oklab(29.86% 0.011 -0.1264) |
| OKLCH | oklch(29.86% 0.127 275) |
| XYZ | xyz(3.7346, 2.3855, 14.1707) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.44
Darkblue (survey)
#030764
ΔE00 6.21
Dark Royal Blue
#02066F
ΔE00 6.46
Dark Indigo
#1F0954
ΔE00 6.61
Royal
#0C1793
ΔE00 7.03
Deep Blue
#040273
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F206B #6B6A1F
analogous
#1F466B #1F206B #441F6B
triadic
#1F206B #6B1F20 #206B1F
tetradic
#1F206B #6B1F46 #6B6A1F #1F6B44
square
#1F206B #6B1F46 #6B6A1F #1F6B44
split-complementary
#1F206B #6B441F #466B1F
monochromatic
#070718 #11123C #1F206B #2D2E9A #3D3FC7
Accessibility & contrast
On white
14.22
#1F206B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1F206B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F206B
14.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F206B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F206B | 1.00 | 14.22 | 1.48 | 14.22 |
| #FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1f206b; /* rgb */ color: rgb(31, 32, 107); /* oklch */ color: oklch(29.9% 0.127 275.0);
Tailwind
colors: {
custom: {
50: '#665c96',
500: '#1f206b',
950: '#000000',
},
}SCSS
$custom: #1f206b; $custom-light: #665c96; $custom-dark: #000000;
JSON
{
"hex": "#1f206b",
"rgb": {
"r": 31,
"g": 32,
"b": 107
},
"hsl": {
"h": 239.211,
"s": 55.072,
"l": 27.059
},
"oklch": {
"l": 0.29864,
"c": 0.12688,
"h": 275
},
"luminance": 0.02386
}Semantic roles & 50–950 ramp
primary
#1F206B
secondary
#9F9E47
accent
#DC49DE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E