#1A1F79#1A1F79
#1A1F79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.149 H 271.4°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1F79 |
|---|---|
| RGB | rgb(26, 31, 121) |
| HSL | hsl(237, 65%, 29%) |
| HSV | hsv(237, 79%, 47%) |
| CMYK | cmyk(78.5%, 74.4%, 0%, 52.5%) |
| CIE-LAB | lab(18.27, 31.33, -51.38) |
| CIE-LCH | lch(18.27, 60.18, 301.37°) |
| OKLab | oklab(30.85% 0.0035 -0.1487) |
| OKLCH | oklch(30.85% 0.149 271.4) |
| XYZ | xyz(4.3660, 2.5796, 18.3533) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.94
Royal
#0C1793
ΔE00 4.53
Dark Royal Blue
#02066F
ΔE00 5.60
Darkblue (survey)
#030764
ΔE00 6.05
Deep Blue
#040273
ΔE00 6.14
Navy
#000080
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1F79 #79741A
analogous
#1A4F79 #1A1F79 #451A79
triadic
#1A1F79 #791A1F #1F791A
tetradic
#1A1F79 #791A4F #79741A #1A7945
square
#1A1F79 #791A4F #79741A #1A7945
split-complementary
#1A1F79 #79451A #4F791A
monochromatic
#050619 #0F1247 #1A1F79 #252CAB #3941D4
Accessibility & contrast
On white
13.85
#1A1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1A1F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1F79
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1F79 | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1a1f79; /* rgb */ color: rgb(26, 31, 121); /* oklch */ color: oklch(30.9% 0.149 271.4);
Tailwind
colors: {
custom: {
50: '#685ba1',
500: '#1a1f79',
950: '#000000',
},
}SCSS
$custom: #1a1f79; $custom-light: #685ba1; $custom-dark: #000000;
JSON
{
"hex": "#1a1f79",
"rgb": {
"r": 26,
"g": 31,
"b": 121
},
"hsl": {
"h": 236.842,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.30852,
"c": 0.14878,
"h": 271.4
},
"luminance": 0.0258
}Semantic roles & 50–950 ramp
primary
#1A1F79
secondary
#ADA841
accent
#DF40E8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F