#1F386B#1F386B
#1F386B is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.094 H 262.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1F386B |
|---|---|
| RGB | rgb(31, 56, 107) |
| HSL | hsl(220, 55%, 27%) |
| HSV | hsv(220, 71%, 42%) |
| CMYK | cmyk(71%, 47.7%, 0%, 58%) |
| CIE-LAB | lab(24.26, 9.10, -32.65) |
| CIE-LCH | lch(24.26, 33.89, 285.58°) |
| OKLab | oklab(35.01% -0.0117 -0.0934) |
| OKLCH | oklch(35.01% 0.094 262.8) |
| XYZ | xyz(4.6322, 4.1807, 14.4699) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 3.58
Marine
#042E60
ΔE00 3.67
Darkish Blue
#014182
ΔE00 5.22
Twilight Blue
#0A437A
ΔE00 5.44
Navy Blue
#1B2A4A
ΔE00 6.57
Cobalt (survey)
#1E488F
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F386B #6B521F
analogous
#1F5E6B #1F386B #2C1F6B
triadic
#1F386B #6B1F38 #386B1F
tetradic
#1F386B #6B1F5E #6B521F #1F6B2C
square
#1F386B #6B1F5E #6B521F #1F6B2C
split-complementary
#1F386B #6B2C1F #5E6B1F
monochromatic
#070C18 #111F3C #1F386B #2D519A #3D6BC7
Accessibility & contrast
On white
11.44
#1F386B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1F386B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F386B
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F386B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F386B | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3D6D
Deuteranopia (green-blind)
#11366A
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f386b; /* rgb */ color: rgb(31, 56, 107); /* oklch */ color: oklch(35.0% 0.094 262.8);
Tailwind
colors: {
custom: {
50: '#646e96',
500: '#1f386b',
950: '#000000',
},
}SCSS
$custom: #1f386b; $custom-light: #646e96; $custom-dark: #000000;
JSON
{
"hex": "#1f386b",
"rgb": {
"r": 31,
"g": 56,
"b": 107
},
"hsl": {
"h": 220.263,
"s": 55.072,
"l": 27.059
},
"oklch": {
"l": 0.3501,
"c": 0.0941,
"h": 262.8
},
"luminance": 0.04181
}Semantic roles & 50–950 ramp
primary
#1F386B
secondary
#9F8247
accent
#AD49DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E