#1A127E#1A127E
#1A127E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.168 H 272.6°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1A127E |
|---|---|
| RGB | rgb(26, 18, 126) |
| HSL | hsl(244, 75%, 28%) |
| HSV | hsv(244, 86%, 49%) |
| CMYK | cmyk(79.4%, 85.7%, 0%, 50.6%) |
| CIE-LAB | lab(16.30, 40.42, -57.85) |
| CIE-LCH | lch(16.30, 70.57, 304.94°) |
| OKLab | oklab(29.63% 0.0076 -0.1674) |
| OKLCH | oklch(29.63% 0.168 272.6) |
| XYZ | xyz(4.4069, 2.1581, 19.9189) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.04
Navy
#000080
ΔE00 3.11
Royal
#0C1793
ΔE00 3.19
Dark Royal Blue
#02066F
ΔE00 3.33
Darkblue
#00008B
ΔE00 3.34
Deep Blue
#040273
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A127E #767E12
analogous
#12407E #1A127E #50127E
triadic
#1A127E #7E1A12 #127E1A
tetradic
#1A127E #7E1240 #767E12 #127E50
square
#1A127E #7E1240 #767E12 #127E50
split-complementary
#1A127E #7E5012 #407E12
monochromatic
#06041B #0F0A48 #1A127E #251AB4 #372AE1
Accessibility & contrast
On white
14.67
#1A127E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1A127E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A127E
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A127E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A127E | 1.00 | 14.67 | 1.43 | 14.67 |
| #FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1a127e; /* rgb */ color: rgb(26, 18, 126); /* oklch */ color: oklch(29.6% 0.168 272.6);
Tailwind
colors: {
custom: {
50: '#6b54a5',
500: '#1a127e',
950: '#000000',
},
}SCSS
$custom: #1a127e; $custom-light: #6b54a5; $custom-dark: #000000;
JSON
{
"hex": "#1a127e",
"rgb": {
"r": 26,
"g": 18,
"b": 126
},
"hsl": {
"h": 244.444,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.29633,
"c": 0.16753,
"h": 272.6
},
"luminance": 0.02159
}Semantic roles & 50–950 ramp
primary
#1A127E
secondary
#ABB438
accent
#F236E4
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F