#1F368E#1F368E
#1F368E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.148 H 267.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F368E |
|---|---|
| RGB | rgb(31, 54, 142) |
| HSL | hsl(228, 64%, 34%) |
| HSV | hsv(228, 78%, 56%) |
| CMYK | cmyk(78.2%, 62%, 0%, 44.3%) |
| CIE-LAB | lab(26.40, 24.47, -51.26) |
| CIE-LCH | lch(26.40, 56.80, 295.52°) |
| OKLab | oklab(37.48% -0.0069 -0.1481) |
| OKLCH | oklch(37.48% 0.148 267.3) |
| XYZ | xyz(6.7650, 4.8819, 26.1717) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.31
Blueberry
#464196
ΔE00 5.93
Darkslateblue
#483D8B
ΔE00 6.49
Cobalt (survey)
#1E488F
ΔE00 6.51
Darkish Blue
#014182
ΔE00 6.57
Cobalt
#0047AB
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F368E #8E771F
analogous
#1F6E8E #1F368E #401F8E
triadic
#1F368E #8E1F36 #368E1F
tetradic
#1F368E #8E1F6E #8E771F #1F8E40
square
#1F368E #8E1F6E #8E771F #1F8E40
split-complementary
#1F368E #8E401F #6E8E1F
monochromatic
#09102A #14235C #1F368E #2A49C0 #4F6BD9
Accessibility & contrast
On white
10.62
#1F368E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1F368E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F368E
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F368E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F368E | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f368e; /* rgb */ color: rgb(31, 54, 142); /* oklch */ color: oklch(37.5% 0.148 267.3);
Tailwind
colors: {
custom: {
50: '#6d6cb0',
500: '#1f368e',
950: '#000000',
},
}SCSS
$custom: #1f368e; $custom-light: #6d6cb0; $custom-dark: #000000;
JSON
{
"hex": "#1f368e",
"rgb": {
"r": 31,
"g": 54,
"b": 142
},
"hsl": {
"h": 227.568,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.37481,
"c": 0.14827,
"h": 267.3
},
"luminance": 0.04883
}Semantic roles & 50–950 ramp
primary
#1F368E
secondary
#BBA54D
accent
#C541E7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80