#1A127B#1A127B
#1A127B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.164 H 272.9°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1A127B |
|---|---|
| RGB | rgb(26, 18, 123) |
| HSL | hsl(245, 74%, 28%) |
| HSV | hsv(245, 85%, 48%) |
| CMYK | cmyk(78.9%, 85.4%, 0%, 51.8%) |
| CIE-LAB | lab(15.91, 39.45, -56.58) |
| CIE-LCH | lch(15.91, 68.97, 304.89°) |
| OKLab | oklab(29.26% 0.0084 -0.1637) |
| OKLCH | oklch(29.26% 0.164 272.9) |
| XYZ | xyz(4.2163, 2.0818, 18.9147) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.69
Dark Royal Blue
#02066F
ΔE00 3.06
Deep Blue
#040273
ΔE00 3.21
Navy
#000080
ΔE00 3.21
Royal
#0C1793
ΔE00 3.61
Darkblue
#00008B
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A127B #737B12
analogous
#123F7B #1A127B #4E127B
triadic
#1A127B #7B1A12 #127B1A
tetradic
#1A127B #7B123F #737B12 #127B4E
square
#1A127B #7B123F #737B12 #127B4E
split-complementary
#1A127B #7B4E12 #3F7B12
monochromatic
#06041B #0F0A46 #1A127B #251AB0 #3628E0
Accessibility & contrast
On white
14.83
#1A127B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1A127B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A127B
14.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A127B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A127B | 1.00 | 14.83 | 1.42 | 14.83 |
| #FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7E
Deuteranopia (green-blind)
#002279
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1a127b; /* rgb */ color: rgb(26, 18, 123); /* oklch */ color: oklch(29.3% 0.164 272.9);
Tailwind
colors: {
custom: {
50: '#6a54a2',
500: '#1a127b',
950: '#000000',
},
}SCSS
$custom: #1a127b; $custom-light: #6a54a2; $custom-dark: #000000;
JSON
{
"hex": "#1a127b",
"rgb": {
"r": 26,
"g": 18,
"b": 123
},
"hsl": {
"h": 244.571,
"s": 74.468,
"l": 27.647
},
"oklch": {
"l": 0.29256,
"c": 0.16387,
"h": 272.9
},
"luminance": 0.02082
}Semantic roles & 50–950 ramp
primary
#1A127B
secondary
#A8B138
accent
#F137E3
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F