#1F366F#1F366F
#1F366F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.103 H 265.0°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1F366F |
|---|---|
| RGB | rgb(31, 54, 111) |
| HSL | hsl(223, 56%, 28%) |
| HSV | hsv(223, 72%, 44%) |
| CMYK | cmyk(72.1%, 51.4%, 0%, 56.5%) |
| CIE-LAB | lab(23.92, 12.12, -35.76) |
| CIE-LCH | lch(23.92, 37.75, 288.72°) |
| OKLab | oklab(34.84% -0.009 -0.1025) |
| OKLCH | oklch(34.84% 0.103 265) |
| XYZ | xyz(4.7525, 4.0769, 15.5723) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.79
Marine Blue
#01386A
ΔE00 4.30
Darkish Blue
#014182
ΔE00 5.65
Twilight Blue
#0A437A
ΔE00 6.15
Navy Blue
#1B2A4A
ΔE00 6.96
Cobalt (survey)
#1E488F
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F366F #6F581F
analogous
#1F5E6F #1F366F #301F6F
triadic
#1F366F #6F1F36 #366F1F
tetradic
#1F366F #6F1F5E #6F581F #1F6F30
square
#1F366F #6F1F5E #6F581F #1F6F30
split-complementary
#1F366F #6F301F #5E6F1F
monochromatic
#070C18 #121F3F #1F366F #2C4D9F #3F67C9
Accessibility & contrast
On white
11.57
#1F366F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#1F366F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F366F
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F366F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F366F | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#173D71
Deuteranopia (green-blind)
#02356E
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f366f; /* rgb */ color: rgb(31, 54, 111); /* oklch */ color: oklch(34.8% 0.103 265.0);
Tailwind
colors: {
custom: {
50: '#656c99',
500: '#1f366f',
950: '#000000',
},
}SCSS
$custom: #1f366f; $custom-light: #656c99; $custom-dark: #000000;
JSON
{
"hex": "#1f366f",
"rgb": {
"r": 31,
"g": 54,
"b": 111
},
"hsl": {
"h": 222.75,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.34842,
"c": 0.10294,
"h": 265
},
"luminance": 0.04077
}Semantic roles & 50–950 ramp
primary
#1F366F
secondary
#A38847
accent
#B448E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E