#1F459F#1F459F
#1F459F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.153 H 263.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F459F |
|---|---|
| RGB | rgb(31, 69, 159) |
| HSL | hsl(222, 67%, 37%) |
| HSV | hsv(222, 81%, 62%) |
| CMYK | cmyk(80.5%, 56.6%, 0%, 37.6%) |
| CIE-LAB | lab(31.92, 20.91, -52.64) |
| CIE-LCH | lch(31.92, 56.65, 291.67°) |
| OKLab | oklab(42.06% -0.0166 -0.1519) |
| OKLCH | oklch(42.06% 0.153 263.8) |
| XYZ | xyz(8.9490, 7.0497, 33.6832) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.08
Cobalt (survey)
#1E488F
ΔE00 2.98
Sapphire (survey)
#2138AB
ΔE00 5.14
Darkish Blue
#014182
ΔE00 5.18
Sapphire
#0F52BA
ΔE00 5.31
Dusk Blue
#26538D
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F459F #9F791F
analogous
#1F859F #1F459F #391F9F
triadic
#1F459F #9F1F45 #459F1F
tetradic
#1F459F #9F1F85 #9F791F #1F9F39
square
#1F459F #9F1F85 #9F791F #1F9F39
split-complementary
#1F459F #9F391F #859F1F
monochromatic
#0B1939 #152F6C #1F459F #295BD2 #5A81DF
Accessibility & contrast
On white
8.71
#1F459F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#1F459F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F459F
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F459F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F459F | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f459f; /* rgb */ color: rgb(31, 69, 159); /* oklch */ color: oklch(42.1% 0.153 263.8);
Tailwind
colors: {
custom: {
50: '#7078bc',
500: '#1f459f',
950: '#000000',
},
}SCSS
$custom: #1f459f; $custom-light: #7078bc; $custom-dark: #000000;
JSON
{
"hex": "#1f459f",
"rgb": {
"r": 31,
"g": 69,
"b": 159
},
"hsl": {
"h": 222.188,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.42059,
"c": 0.15285,
"h": 263.8
},
"luminance": 0.07051
}Semantic roles & 50–950 ramp
primary
#1F459F
secondary
#C3A357
accent
#B73EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81