#1F367A#1F367A
#1F367A is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.119 H 266.3°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1F367A |
|---|---|
| RGB | rgb(31, 54, 122) |
| HSL | hsl(225, 59%, 30%) |
| HSV | hsv(225, 75%, 48%) |
| CMYK | cmyk(74.6%, 55.7%, 0%, 52.2%) |
| CIE-LAB | lab(24.75, 16.53, -41.43) |
| CIE-LCH | lch(24.75, 44.61, 291.75°) |
| OKLab | oklab(35.73% -0.0077 -0.1192) |
| OKLCH | oklch(35.73% 0.12 266.3) |
| XYZ | xyz(5.3959, 4.3342, 18.9608) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.04
Marine Blue
#01386A
ΔE00 5.20
Darkish Blue
#014182
ΔE00 5.57
Twilight Blue
#0A437A
ΔE00 6.42
Cobalt (survey)
#1E488F
ΔE00 6.44
Darkslateblue
#483D8B
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F367A #7A631F
analogous
#1F647A #1F367A #351F7A
triadic
#1F367A #7A1F36 #367A1F
tetradic
#1F367A #7A1F64 #7A631F #1F7A35
square
#1F367A #7A1F64 #7A631F #1F7A35
split-complementary
#1F367A #7A351F #647A1F
monochromatic
#060B18 #132049 #1F367A #2B4CAB #4467CF
Accessibility & contrast
On white
11.25
#1F367A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1F367A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F367A
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F367A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F367A | 1.00 | 11.25 | 1.87 | 11.25 |
| #FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#033F7C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f367a; /* rgb */ color: rgb(31, 54, 122); /* oklch */ color: oklch(35.7% 0.119 266.3);
Tailwind
colors: {
custom: {
50: '#686ca1',
500: '#1f367a',
950: '#000000',
},
}SCSS
$custom: #1f367a; $custom-light: #686ca1; $custom-dark: #000000;
JSON
{
"hex": "#1f367a",
"rgb": {
"r": 31,
"g": 54,
"b": 122
},
"hsl": {
"h": 224.835,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.35729,
"c": 0.1195,
"h": 266.3
},
"luminance": 0.04335
}Semantic roles & 50–950 ramp
primary
#1F367A
secondary
#AD9447
accent
#BB45E3
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F