#1F357E#1F357E
#1F357E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.127 H 267.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1F357E |
|---|---|
| RGB | rgb(31, 53, 126) |
| HSL | hsl(226, 61%, 31%) |
| HSV | hsv(226, 75%, 49%) |
| CMYK | cmyk(75.4%, 57.9%, 0%, 50.6%) |
| CIE-LAB | lab(24.78, 18.84, -43.91) |
| CIE-LCH | lch(24.78, 47.78, 293.22°) |
| OKLab | oklab(35.85% -0.0066 -0.1265) |
| OKLCH | oklch(35.85% 0.127 267) |
| XYZ | xyz(5.6028, 4.3433, 20.2777) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.62
Marine Blue
#01386A
ΔE00 5.84
Darkish Blue
#014182
ΔE00 5.99
Cobalt (survey)
#1E488F
ΔE00 6.67
Sapphire (survey)
#2138AB
ΔE00 6.83
Twilight Blue
#0A437A
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F357E #7E681F
analogous
#1F647E #1F357E #381F7E
triadic
#1F357E #7E1F35 #357E1F
tetradic
#1F357E #7E1F64 #7E681F #1F7E38
square
#1F357E #7E1F64 #7E681F #1F7E38
split-complementary
#1F357E #7E381F #647E1F
monochromatic
#070C1C #13204D #1F357E #2B4AAF #4666D1
Accessibility & contrast
On white
11.24
#1F357E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1F357E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F357E
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F357E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F357E | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f357e; /* rgb */ color: rgb(31, 53, 126); /* oklch */ color: oklch(35.9% 0.127 267.0);
Tailwind
colors: {
custom: {
50: '#696ba4',
500: '#1f357e',
950: '#000000',
},
}SCSS
$custom: #1f357e; $custom-light: #696ba4; $custom-dark: #000000;
JSON
{
"hex": "#1f357e",
"rgb": {
"r": 31,
"g": 53,
"b": 126
},
"hsl": {
"h": 226.105,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.3585,
"c": 0.12672,
"h": 267
},
"luminance": 0.04344
}Semantic roles & 50–950 ramp
primary
#1F357E
secondary
#B19948
accent
#BF44E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F