#1A1F7B#1A1F7B
#1A1F7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.151 H 271.2°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1F7B |
|---|---|
| RGB | rgb(26, 31, 123) |
| HSL | hsl(237, 65%, 29%) |
| HSV | hsv(237, 79%, 48%) |
| CMYK | cmyk(78.9%, 74.8%, 0%, 51.8%) |
| CIE-LAB | lab(18.49, 32.07, -52.30) |
| CIE-LCH | lch(18.49, 61.35, 301.51°) |
| OKLab | oklab(31.07% 0.0032 -0.1514) |
| OKLCH | oklch(31.07% 0.151 271.2) |
| XYZ | xyz(4.4899, 2.6292, 19.0059) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.14
Royal
#0C1793
ΔE00 4.22
Dark Royal Blue
#02066F
ΔE00 5.62
Deep Blue
#040273
ΔE00 6.11
Darkblue (survey)
#030764
ΔE00 6.16
Navy
#000080
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1F7B #7B761A
analogous
#1A507B #1A1F7B #461A7B
triadic
#1A1F7B #7B1A1F #1F7B1A
tetradic
#1A1F7B #7B1A50 #7B761A #1A7B46
square
#1A1F7B #7B1A50 #7B761A #1A7B46
split-complementary
#1A1F7B #7B461A #507B1A
monochromatic
#050619 #0F1248 #1A1F7B #252CAE #3A42D5
Accessibility & contrast
On white
13.76
#1A1F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1A1F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1F7B
13.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1F7B | 1.00 | 13.76 | 1.53 | 13.76 |
| #FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1a1f7b; /* rgb */ color: rgb(26, 31, 123); /* oklch */ color: oklch(31.1% 0.151 271.2);
Tailwind
colors: {
custom: {
50: '#695ba2',
500: '#1a1f7b',
950: '#000000',
},
}SCSS
$custom: #1a1f7b; $custom-light: #695ba2; $custom-dark: #000000;
JSON
{
"hex": "#1a1f7b",
"rgb": {
"r": 26,
"g": 31,
"b": 123
},
"hsl": {
"h": 236.907,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.31074,
"c": 0.15144,
"h": 271.2
},
"luminance": 0.0263
}Semantic roles & 50–950 ramp
primary
#1A1F7B
secondary
#AFAA42
accent
#DF40E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F