#1F396D#1F396D
#1F396D is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.096 H 262.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1F396D |
|---|---|
| RGB | rgb(31, 57, 109) |
| HSL | hsl(220, 56%, 27%) |
| HSV | hsv(220, 72%, 43%) |
| CMYK | cmyk(71.6%, 47.7%, 0%, 57.3%) |
| CIE-LAB | lab(24.71, 9.20, -33.22) |
| CIE-LCH | lch(24.71, 34.47, 285.48°) |
| OKLab | oklab(35.4% -0.0124 -0.095) |
| OKLCH | oklch(35.4% 0.096 262.6) |
| XYZ | xyz(4.7875, 4.3212, 15.0468) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 3.47
Marine
#042E60
ΔE00 3.92
Darkish Blue
#014182
ΔE00 4.84
Twilight Blue
#0A437A
ΔE00 5.09
Cobalt (survey)
#1E488F
ΔE00 6.37
Prussian Blue
#004577
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F396D #6D531F
analogous
#1F606D #1F396D #2C1F6D
triadic
#1F396D #6D1F39 #396D1F
tetradic
#1F396D #6D1F60 #6D531F #1F6D2C
square
#1F396D #6D1F60 #6D531F #1F6D2C
split-complementary
#1F396D #6D2C1F #606D1F
monochromatic
#070C18 #11203D #1F396D #2D529D #3E6CC8
Accessibility & contrast
On white
11.26
#1F396D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1F396D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F396D
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F396D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F396D | 1.00 | 11.26 | 1.86 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3E6F
Deuteranopia (green-blind)
#10376C
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f396d; /* rgb */ color: rgb(31, 57, 109); /* oklch */ color: oklch(35.4% 0.096 262.6);
Tailwind
colors: {
custom: {
50: '#656e97',
500: '#1f396d',
950: '#000000',
},
}SCSS
$custom: #1f396d; $custom-light: #656e97; $custom-dark: #000000;
JSON
{
"hex": "#1f396d",
"rgb": {
"r": 31,
"g": 57,
"b": 109
},
"hsl": {
"h": 220,
"s": 55.714,
"l": 27.451
},
"oklch": {
"l": 0.35396,
"c": 0.09584,
"h": 262.6
},
"luminance": 0.04322
}Semantic roles & 50–950 ramp
primary
#1F396D
secondary
#A18347
accent
#AD49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E