#1F366C#1F366C
#1F366C is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.098 H 264.5°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1F366C |
|---|---|
| RGB | rgb(31, 54, 108) |
| HSL | hsl(222, 55%, 27%) |
| HSV | hsv(222, 71%, 42%) |
| CMYK | cmyk(71.3%, 50%, 0%, 57.6%) |
| CIE-LAB | lab(23.71, 10.91, -34.17) |
| CIE-LCH | lch(23.71, 35.87, 287.71°) |
| OKLab | oklab(34.61% -0.0095 -0.0979) |
| OKLCH | oklch(34.61% 0.098 264.5) |
| XYZ | xyz(4.5901, 4.0119, 14.7169) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.55
Marine Blue
#01386A
ΔE00 4.14
Darkish Blue
#014182
ΔE00 5.76
Twilight Blue
#0A437A
ΔE00 6.14
Navy Blue
#1B2A4A
ΔE00 6.52
Cobalt (survey)
#1E488F
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F366C #6C551F
analogous
#1F5D6C #1F366C #2F1F6C
triadic
#1F366C #6C1F36 #366C1F
tetradic
#1F366C #6C1F5D #6C551F #1F6C2F
square
#1F366C #6C1F5D #6C551F #1F6C2F
split-complementary
#1F366C #6C2F1F #5D6C1F
monochromatic
#070C18 #111E3C #1F366C #2D4E9C #3E67C8
Accessibility & contrast
On white
11.65
#1F366C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#1F366C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F366C
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F366C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F366C | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3C6E
Deuteranopia (green-blind)
#09356B
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1f366c; /* rgb */ color: rgb(31, 54, 108); /* oklch */ color: oklch(34.6% 0.098 264.5);
Tailwind
colors: {
custom: {
50: '#656c96',
500: '#1f366c',
950: '#000000',
},
}SCSS
$custom: #1f366c; $custom-light: #656c96; $custom-dark: #000000;
JSON
{
"hex": "#1f366c",
"rgb": {
"r": 31,
"g": 54,
"b": 108
},
"hsl": {
"h": 222.078,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.34611,
"c": 0.09835,
"h": 264.5
},
"luminance": 0.04012
}Semantic roles & 50–950 ramp
primary
#1F366C
secondary
#A08547
accent
#B249DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E