#1F458E#1F458E
#1F458E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.129 H 261.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F458E |
|---|---|
| RGB | rgb(31, 69, 142) |
| HSL | hsl(219, 64%, 34%) |
| HSV | hsv(219, 78%, 56%) |
| CMYK | cmyk(78.2%, 51.4%, 0%, 44.3%) |
| CIE-LAB | lab(30.64, 14.13, -44.36) |
| CIE-LCH | lch(30.64, 46.56, 287.66°) |
| OKLab | oklab(40.68% -0.0184 -0.1276) |
| OKLCH | oklch(40.68% 0.129 261.8) |
| XYZ | xyz(7.5739, 6.4997, 26.4413) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.14
Darkish Blue
#014182
ΔE00 3.09
Cobalt
#0047AB
ΔE00 3.87
Twilight Blue
#0A437A
ΔE00 3.96
Dusk Blue
#26538D
ΔE00 4.94
Prussian Blue
#004577
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F458E #8E681F
analogous
#1F7D8E #1F458E #301F8E
triadic
#1F458E #8E1F45 #458E1F
tetradic
#1F458E #8E1F7D #8E681F #1F8E30
square
#1F458E #8E1F7D #8E681F #1F8E30
split-complementary
#1F458E #8E301F #7D8E1F
monochromatic
#09142A #142D5C #1F458E #2A5DC0 #4F7ED9
Accessibility & contrast
On white
9.13
#1F458E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F458E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F458E
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F458E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F458E | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#184E91
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f458e; /* rgb */ color: rgb(31, 69, 142); /* oklch */ color: oklch(40.7% 0.129 261.8);
Tailwind
colors: {
custom: {
50: '#6c78b0',
500: '#1f458e',
950: '#000000',
},
}SCSS
$custom: #1f458e; $custom-light: #6c78b0; $custom-dark: #000000;
JSON
{
"hex": "#1f458e",
"rgb": {
"r": 31,
"g": 69,
"b": 142
},
"hsl": {
"h": 219.459,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.40682,
"c": 0.12891,
"h": 261.8
},
"luminance": 0.06501
}Semantic roles & 50–950 ramp
primary
#1F458E
secondary
#BB964D
accent
#AE41E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F