#1F419F#1F419F
#1F419F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.158 H 265.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1F419F |
|---|---|
| RGB | rgb(31, 65, 159) |
| HSL | hsl(224, 67%, 37%) |
| HSV | hsv(224, 81%, 62%) |
| CMYK | cmyk(80.5%, 59.1%, 0%, 37.6%) |
| CIE-LAB | lab(30.82, 23.64, -54.44) |
| CIE-LCH | lch(30.82, 59.35, 293.47°) |
| OKLab | oklab(41.23% -0.0139 -0.1573) |
| OKLCH | oklch(41.23% 0.158 265) |
| XYZ | xyz(8.7112, 6.5741, 33.6040) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.98
Sapphire (survey)
#2138AB
ΔE00 3.86
Cobalt (survey)
#1E488F
ΔE00 4.05
Darkish Blue
#014182
ΔE00 5.67
Blue Blue
#2242C7
ΔE00 5.72
Blueberry
#464196
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F419F #9F7D1F
analogous
#1F819F #1F419F #3D1F9F
triadic
#1F419F #9F1F41 #419F1F
tetradic
#1F419F #9F1F81 #9F7D1F #1F9F3D
square
#1F419F #9F1F81 #9F7D1F #1F9F3D
split-complementary
#1F419F #9F3D1F #819F1F
monochromatic
#0B1739 #152C6C #1F419F #2956D2 #5A7DDF
Accessibility & contrast
On white
9.07
#1F419F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1F419F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F419F
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F419F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F419F | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f419f; /* rgb */ color: rgb(31, 65, 159); /* oklch */ color: oklch(41.2% 0.158 265.0);
Tailwind
colors: {
custom: {
50: '#7175bc',
500: '#1f419f',
950: '#000000',
},
}SCSS
$custom: #1f419f; $custom-light: #7175bc; $custom-dark: #000000;
JSON
{
"hex": "#1f419f",
"rgb": {
"r": 31,
"g": 65,
"b": 159
},
"hsl": {
"h": 224.063,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.4123,
"c": 0.1579,
"h": 265
},
"luminance": 0.06575
}Semantic roles & 50–950 ramp
primary
#1F419F
secondary
#C3A657
accent
#BC3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81