#1F296C#1F296C
#1F296C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.116 H 271.6°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1F296C |
|---|---|
| RGB | rgb(31, 41, 108) |
| HSL | hsl(232, 55%, 27%) |
| HSV | hsv(232, 71%, 42%) |
| CMYK | cmyk(71.3%, 62%, 0%, 57.6%) |
| CIE-LAB | lab(19.88, 20.18, -40.37) |
| CIE-LCH | lch(19.88, 45.13, 296.56°) |
| OKLab | oklab(31.72% 0.0033 -0.1163) |
| OKLCH | oklch(31.72% 0.116 271.6) |
| XYZ | xyz(4.0639, 2.9595, 14.5415) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.27
Marine
#042E60
ΔE00 5.68
Navy Blue
#1B2A4A
ΔE00 7.36
Marine Blue
#01386A
ΔE00 8.16
Navy Blue (survey)
#001146
ΔE00 8.27
Darkslateblue
#483D8B
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F296C #6C621F
analogous
#1F506C #1F296C #3C1F6C
triadic
#1F296C #6C1F29 #296C1F
tetradic
#1F296C #6C1F50 #6C621F #1F6C3C
square
#1F296C #6C1F50 #6C621F #1F6C3C
split-complementary
#1F296C #6C3C1F #506C1F
monochromatic
#070918 #11173C #1F296C #2D3B9C #3E50C8
Accessibility & contrast
On white
13.19
#1F296C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1F296C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F296C
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F296C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F296C | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1f296c; /* rgb */ color: rgb(31, 41, 108); /* oklch */ color: oklch(31.7% 0.116 271.6);
Tailwind
colors: {
custom: {
50: '#666297',
500: '#1f296c',
950: '#000000',
},
}SCSS
$custom: #1f296c; $custom-light: #666297; $custom-dark: #000000;
JSON
{
"hex": "#1f296c",
"rgb": {
"r": 31,
"g": 41,
"b": 108
},
"hsl": {
"h": 232.208,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.3172,
"c": 0.11636,
"h": 271.6
},
"luminance": 0.0296
}Semantic roles & 50–950 ramp
primary
#1F296C
secondary
#A09547
accent
#CB49DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E