#1F419C#1F419C
#1F419C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.154 H 264.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F419C |
|---|---|
| RGB | rgb(31, 65, 156) |
| HSL | hsl(224, 67%, 37%) |
| HSV | hsv(224, 80%, 61%) |
| CMYK | cmyk(80.1%, 58.3%, 0%, 38.8%) |
| CIE-LAB | lab(30.57, 22.45, -53.02) |
| CIE-LCH | lch(30.57, 57.58, 292.95°) |
| OKLab | oklab(40.97% -0.014 -0.1531) |
| OKLCH | oklch(40.97% 0.154 264.8) |
| XYZ | xyz(8.4540, 6.4712, 32.2496) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.10
Cobalt (survey)
#1E488F
ΔE00 3.72
Sapphire (survey)
#2138AB
ΔE00 4.20
Darkish Blue
#014182
ΔE00 5.28
Blueberry
#464196
ΔE00 5.92
Blue Blue
#2242C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F419C #9C7A1F
analogous
#1F809C #1F419C #3C1F9C
triadic
#1F419C #9C1F41 #419C1F
tetradic
#1F419C #9C1F80 #9C7A1F #1F9C3C
square
#1F419C #9C1F80 #9C7A1F #1F9C3C
split-complementary
#1F419C #9C3C1F #809C1F
monochromatic
#0B1636 #152C69 #1F419C #2956CF #587CDE
Accessibility & contrast
On white
9.15
#1F419C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1F419C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F419C
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F419C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F419C | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f419c; /* rgb */ color: rgb(31, 65, 156); /* oklch */ color: oklch(41.0% 0.154 264.8);
Tailwind
colors: {
custom: {
50: '#7075ba',
500: '#1f419c',
950: '#000000',
},
}SCSS
$custom: #1f419c; $custom-light: #7075ba; $custom-dark: #000000;
JSON
{
"hex": "#1f419c",
"rgb": {
"r": 31,
"g": 65,
"b": 156
},
"hsl": {
"h": 223.68,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.40969,
"c": 0.15377,
"h": 264.8
},
"luminance": 0.06472
}Semantic roles & 50–950 ramp
primary
#1F419C
secondary
#C1A455
accent
#BB3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81