#1F459B#1F459B
#1F459B is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.147 H 263.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1F459B |
|---|---|
| RGB | rgb(31, 69, 155) |
| HSL | hsl(222, 67%, 36%) |
| HSV | hsv(222, 80%, 61%) |
| CMYK | cmyk(80%, 55.5%, 0%, 39.2%) |
| CIE-LAB | lab(31.61, 19.33, -50.73) |
| CIE-LCH | lch(31.61, 54.29, 290.86°) |
| OKLab | oklab(41.73% -0.0169 -0.1463) |
| OKLCH | oklch(41.73% 0.147 263.4) |
| XYZ | xyz(8.6075, 6.9131, 31.8847) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.39
Cobalt (survey)
#1E488F
ΔE00 2.45
Darkish Blue
#014182
ΔE00 4.66
Sapphire (survey)
#2138AB
ΔE00 5.54
Sapphire
#0F52BA
ΔE00 5.58
Twilight Blue
#0A437A
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F459B #9B751F
analogous
#1F839B #1F459B #371F9B
triadic
#1F459B #9B1F45 #459B1F
tetradic
#1F459B #9B1F83 #9B751F #1F9B37
square
#1F459B #9B1F83 #9B751F #1F9B37
split-complementary
#1F459B #9B371F #839B1F
monochromatic
#0B1835 #152E68 #1F459B #295CCE #5780DD
Accessibility & contrast
On white
8.81
#1F459B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#1F459B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F459B
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F459B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F459B | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f459b; /* rgb */ color: rgb(31, 69, 155); /* oklch */ color: oklch(41.7% 0.147 263.4);
Tailwind
colors: {
custom: {
50: '#6f78b9',
500: '#1f459b',
950: '#000000',
},
}SCSS
$custom: #1f459b; $custom-light: #6f78b9; $custom-dark: #000000;
JSON
{
"hex": "#1f459b",
"rgb": {
"r": 31,
"g": 69,
"b": 155
},
"hsl": {
"h": 221.613,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.41726,
"c": 0.1473,
"h": 263.4
},
"luminance": 0.06914
}Semantic roles & 50–950 ramp
primary
#1F459B
secondary
#C1A055
accent
#B53EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80