#1F459E#1F459E
#1F459E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.151 H 263.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1F459E |
|---|---|
| RGB | rgb(31, 69, 158) |
| HSL | hsl(222, 67%, 37%) |
| HSV | hsv(222, 80%, 62%) |
| CMYK | cmyk(80.4%, 56.3%, 0%, 38%) |
| CIE-LAB | lab(31.84, 20.52, -52.17) |
| CIE-LCH | lch(31.84, 56.06, 291.47°) |
| OKLab | oklab(41.98% -0.0167 -0.1505) |
| OKLCH | oklch(41.98% 0.151 263.7) |
| XYZ | xyz(8.8625, 7.0151, 33.2281) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.14
Cobalt (survey)
#1E488F
ΔE00 2.85
Darkish Blue
#014182
ΔE00 5.05
Sapphire (survey)
#2138AB
ΔE00 5.24
Sapphire
#0F52BA
ΔE00 5.38
Dusk Blue
#26538D
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F459E #9E781F
analogous
#1F859E #1F459E #381F9E
triadic
#1F459E #9E1F45 #459E1F
tetradic
#1F459E #9E1F85 #9E781F #1F9E38
square
#1F459E #9E1F85 #9E781F #1F9E38
split-complementary
#1F459E #9E381F #859E1F
monochromatic
#0B1838 #152F6B #1F459E #295BD1 #5981DE
Accessibility & contrast
On white
8.74
#1F459E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#1F459E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F459E
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F459E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F459E | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f459e; /* rgb */ color: rgb(31, 69, 158); /* oklch */ color: oklch(42.0% 0.151 263.7);
Tailwind
colors: {
custom: {
50: '#7078bb',
500: '#1f459e',
950: '#000000',
},
}SCSS
$custom: #1f459e; $custom-light: #7078bb; $custom-dark: #000000;
JSON
{
"hex": "#1f459e",
"rgb": {
"r": 31,
"g": 69,
"b": 158
},
"hsl": {
"h": 222.047,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.41975,
"c": 0.15147,
"h": 263.7
},
"luminance": 0.07016
}Semantic roles & 50–950 ramp
primary
#1F459E
secondary
#C2A256
accent
#B73EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81