#1F458C#1F458C
#1F458C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.126 H 261.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1F458C |
|---|---|
| RGB | rgb(31, 69, 140) |
| HSL | hsl(219, 64%, 34%) |
| HSV | hsv(219, 78%, 55%) |
| CMYK | cmyk(77.9%, 50.7%, 0%, 45.1%) |
| CIE-LAB | lab(30.50, 13.32, -43.37) |
| CIE-LCH | lch(30.50, 45.37, 287.08°) |
| OKLab | oklab(40.53% -0.0186 -0.1247) |
| OKLCH | oklch(40.53% 0.126 261.5) |
| XYZ | xyz(7.4251, 6.4402, 25.6576) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.11
Darkish Blue
#014182
ΔE00 2.88
Twilight Blue
#0A437A
ΔE00 3.72
Cobalt
#0047AB
ΔE00 4.12
Dusk Blue
#26538D
ΔE00 4.87
Prussian Blue
#004577
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F458C #8C661F
analogous
#1F7B8C #1F458C #301F8C
triadic
#1F458C #8C1F45 #458C1F
tetradic
#1F458C #8C1F7B #8C661F #1F8C30
square
#1F458C #8C1F7B #8C661F #1F8C30
split-complementary
#1F458C #8C301F #7B8C1F
monochromatic
#091428 #142C5A #1F458C #2A5EBE #4E7ED8
Accessibility & contrast
On white
9.18
#1F458C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1F458C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F458C
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F458C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F458C | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4D8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f458c; /* rgb */ color: rgb(31, 69, 140); /* oklch */ color: oklch(40.5% 0.126 261.5);
Tailwind
colors: {
custom: {
50: '#6c78ae',
500: '#1f458c',
950: '#000000',
},
}SCSS
$custom: #1f458c; $custom-light: #6c78ae; $custom-dark: #000000;
JSON
{
"hex": "#1f458c",
"rgb": {
"r": 31,
"g": 69,
"b": 140
},
"hsl": {
"h": 219.083,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.40527,
"c": 0.12605,
"h": 261.5
},
"luminance": 0.06441
}Semantic roles & 50–950 ramp
primary
#1F458C
secondary
#BB944C
accent
#AD41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F