#1F459C#1F459C
#1F459C is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.149 H 263.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F459C |
|---|---|
| RGB | rgb(31, 69, 156) |
| HSL | hsl(222, 67%, 37%) |
| HSV | hsv(222, 80%, 61%) |
| CMYK | cmyk(80.1%, 55.8%, 0%, 38.8%) |
| CIE-LAB | lab(31.69, 19.72, -51.21) |
| CIE-LCH | lch(31.69, 54.88, 291.06°) |
| OKLab | oklab(41.81% -0.0168 -0.1477) |
| OKLCH | oklch(41.81% 0.149 263.5) |
| XYZ | xyz(8.6918, 6.9468, 32.3288) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.30
Cobalt (survey)
#1E488F
ΔE00 2.58
Darkish Blue
#014182
ΔE00 4.79
Sapphire (survey)
#2138AB
ΔE00 5.44
Sapphire
#0F52BA
ΔE00 5.51
Dusk Blue
#26538D
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F459C #9C761F
analogous
#1F849C #1F459C #381F9C
triadic
#1F459C #9C1F45 #459C1F
tetradic
#1F459C #9C1F84 #9C761F #1F9C38
square
#1F459C #9C1F84 #9C761F #1F9C38
split-complementary
#1F459C #9C381F #849C1F
monochromatic
#0B1836 #152E69 #1F459C #295CCF #5880DE
Accessibility & contrast
On white
8.79
#1F459C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#1F459C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F459C
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F459C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F459C | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f459c; /* rgb */ color: rgb(31, 69, 156); /* oklch */ color: oklch(41.8% 0.149 263.5);
Tailwind
colors: {
custom: {
50: '#7078ba',
500: '#1f459c',
950: '#000000',
},
}SCSS
$custom: #1f459c; $custom-light: #7078ba; $custom-dark: #000000;
JSON
{
"hex": "#1f459c",
"rgb": {
"r": 31,
"g": 69,
"b": 156
},
"hsl": {
"h": 221.76,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.41809,
"c": 0.14869,
"h": 263.5
},
"luminance": 0.06948
}Semantic roles & 50–950 ramp
primary
#1F459C
secondary
#C1A155
accent
#B63EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81