#1F367C#1F367C
#1F367C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.122 H 266.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1F367C |
|---|---|
| RGB | rgb(31, 54, 124) |
| HSL | hsl(225, 60%, 30%) |
| HSV | hsv(225, 75%, 49%) |
| CMYK | cmyk(75%, 56.5%, 0%, 51.4%) |
| CIE-LAB | lab(24.90, 17.33, -42.44) |
| CIE-LCH | lch(24.90, 45.85, 292.22°) |
| OKLab | oklab(35.9% -0.0076 -0.1222) |
| OKLCH | oklch(35.9% 0.122 266.5) |
| XYZ | xyz(5.5211, 4.3843, 19.6202) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.31
Marine Blue
#01386A
ΔE00 5.40
Darkish Blue
#014182
ΔE00 5.61
Cobalt (survey)
#1E488F
ΔE00 6.39
Twilight Blue
#0A437A
ΔE00 6.51
Sapphire (survey)
#2138AB
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F367C #7C651F
analogous
#1F647C #1F367C #361F7C
triadic
#1F367C #7C1F36 #367C1F
tetradic
#1F367C #7C1F64 #7C651F #1F7C36
square
#1F367C #7C1F64 #7C651F #1F7C36
split-complementary
#1F367C #7C361F #647C1F
monochromatic
#070B1A #13214B #1F367C #2B4BAD #4567D0
Accessibility & contrast
On white
11.19
#1F367C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1F367C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F367C
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F367C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F367C | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00407E
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f367c; /* rgb */ color: rgb(31, 54, 124); /* oklch */ color: oklch(35.9% 0.122 266.5);
Tailwind
colors: {
custom: {
50: '#686ca2',
500: '#1f367c',
950: '#000000',
},
}SCSS
$custom: #1f367c; $custom-light: #686ca2; $custom-dark: #000000;
JSON
{
"hex": "#1f367c",
"rgb": {
"r": 31,
"g": 54,
"b": 124
},
"hsl": {
"h": 225.161,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.35896,
"c": 0.12245,
"h": 266.5
},
"luminance": 0.04385
}Semantic roles & 50–950 ramp
primary
#1F367C
secondary
#AF9648
accent
#BC45E3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F