#1F369E#1F369E
#1F369E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.170 H 267.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1F369E |
|---|---|
| RGB | rgb(31, 54, 158) |
| HSL | hsl(229, 67%, 37%) |
| HSV | hsv(229, 80%, 62%) |
| CMYK | cmyk(80.4%, 65.8%, 0%, 38%) |
| CIE-LAB | lab(27.84, 30.65, -58.70) |
| CIE-LCH | lch(27.84, 66.23, 297.57°) |
| OKLab | oklab(38.99% -0.0072 -0.1699) |
| OKLCH | oklch(38.99% 0.17 267.6) |
| XYZ | xyz(8.0536, 5.3973, 32.9585) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.91
Blueberry
#464196
ΔE00 5.75
Cobalt
#0047AB
ΔE00 6.24
Blue Blue
#2242C7
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.83
Ocean Blue
#4F42B5
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F369E #9E871F
analogous
#1F769E #1F369E #481F9E
triadic
#1F369E #9E1F36 #369E1F
tetradic
#1F369E #9E1F76 #9E871F #1F9E48
square
#1F369E #9E1F76 #9E871F #1F9E48
split-complementary
#1F369E #9E481F #769E1F
monochromatic
#0B1338 #15256B #1F369E #2947D1 #5971DE
Accessibility & contrast
On white
10.10
#1F369E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#1F369E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F369E
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F369E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F369E | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f369e; /* rgb */ color: rgb(31, 54, 158); /* oklch */ color: oklch(39.0% 0.170 267.6);
Tailwind
colors: {
custom: {
50: '#716dbc',
500: '#1f369e',
950: '#000000',
},
}SCSS
$custom: #1f369e; $custom-light: #716dbc; $custom-dark: #000000;
JSON
{
"hex": "#1f369e",
"rgb": {
"r": 31,
"g": 54,
"b": 158
},
"hsl": {
"h": 229.134,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.38992,
"c": 0.17008,
"h": 267.6
},
"luminance": 0.05398
}Semantic roles & 50–950 ramp
primary
#1F369E
secondary
#C2AF56
accent
#CB3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81