#1F396F#1F396F
#1F396F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.099 H 263.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1F396F |
|---|---|
| RGB | rgb(31, 57, 111) |
| HSL | hsl(221, 56%, 28%) |
| HSV | hsv(221, 72%, 44%) |
| CMYK | cmyk(72.1%, 48.6%, 0%, 56.5%) |
| CIE-LAB | lab(24.84, 10.00, -34.28) |
| CIE-LCH | lch(24.84, 35.71, 286.26°) |
| OKLab | oklab(35.55% -0.012 -0.0981) |
| OKLCH | oklch(35.55% 0.099 263) |
| XYZ | xyz(4.8964, 4.3648, 15.6203) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 3.59
Marine
#042E60
ΔE00 4.04
Darkish Blue
#014182
ΔE00 4.75
Twilight Blue
#0A437A
ΔE00 5.10
Cobalt (survey)
#1E488F
ΔE00 6.20
Prussian Blue
#004577
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F396F #6F551F
analogous
#1F616F #1F396F #2D1F6F
triadic
#1F396F #6F1F39 #396F1F
tetradic
#1F396F #6F1F61 #6F551F #1F6F2D
square
#1F396F #6F1F61 #6F551F #1F6F2D
split-complementary
#1F396F #6F2D1F #616F1F
monochromatic
#070C18 #12203F #1F396F #2C529F #3F6CC9
Accessibility & contrast
On white
11.21
#1F396F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1F396F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F396F
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F396F | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#0D386E
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f396f; /* rgb */ color: rgb(31, 57, 111); /* oklch */ color: oklch(35.5% 0.099 263.0);
Tailwind
colors: {
custom: {
50: '#656e99',
500: '#1f396f',
950: '#000000',
},
}SCSS
$custom: #1f396f; $custom-light: #656e99; $custom-dark: #000000;
JSON
{
"hex": "#1f396f",
"rgb": {
"r": 31,
"g": 57,
"b": 111
},
"hsl": {
"h": 220.5,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.35545,
"c": 0.09889,
"h": 263
},
"luminance": 0.04365
}Semantic roles & 50–950 ramp
primary
#1F396F
secondary
#A38547
accent
#AE48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E