#1F458F#1F458F
#1F458F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.130 H 262.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1F458F |
|---|---|
| RGB | rgb(31, 69, 143) |
| HSL | hsl(220, 64%, 34%) |
| HSV | hsv(220, 78%, 56%) |
| CMYK | cmyk(78.3%, 51.7%, 0%, 43.9%) |
| CIE-LAB | lab(30.71, 14.53, -44.86) |
| CIE-LCH | lch(30.71, 47.16, 287.95°) |
| OKLab | oklab(40.76% -0.0182 -0.1291) |
| OKLCH | oklch(40.76% 0.13 262) |
| XYZ | xyz(7.6493, 6.5298, 26.8385) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.18
Darkish Blue
#014182
ΔE00 3.20
Cobalt
#0047AB
ΔE00 3.74
Twilight Blue
#0A437A
ΔE00 4.09
Dusk Blue
#26538D
ΔE00 4.97
Prussian Blue
#004577
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F458F #8F691F
analogous
#1F7D8F #1F458F #311F8F
triadic
#1F458F #8F1F45 #458F1F
tetradic
#1F458F #8F1F7D #8F691F #1F8F31
square
#1F458F #8F1F7D #8F691F #1F8F31
split-complementary
#1F458F #8F311F #7D8F1F
monochromatic
#09142A #142D5D #1F458F #2A5DC1 #4F7ED9
Accessibility & contrast
On white
9.11
#1F458F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1F458F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F458F
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F458F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F458F | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f458f; /* rgb */ color: rgb(31, 69, 143); /* oklch */ color: oklch(40.8% 0.130 262.0);
Tailwind
colors: {
custom: {
50: '#6c78b0',
500: '#1f458f',
950: '#000000',
},
}SCSS
$custom: #1f458f; $custom-light: #6c78b0; $custom-dark: #000000;
JSON
{
"hex": "#1f458f",
"rgb": {
"r": 31,
"g": 69,
"b": 143
},
"hsl": {
"h": 219.643,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.4076,
"c": 0.13034,
"h": 262
},
"luminance": 0.06531
}Semantic roles & 50–950 ramp
primary
#1F458F
secondary
#BC974E
accent
#AF40E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F