#1A267E#1A267E
#1A267E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.147 H 269.7°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1A267E |
|---|---|
| RGB | rgb(26, 38, 126) |
| HSL | hsl(233, 66%, 30%) |
| HSV | hsv(233, 79%, 49%) |
| CMYK | cmyk(79.4%, 69.8%, 0%, 50.6%) |
| CIE-LAB | lab(20.49, 28.62, -50.93) |
| CIE-LCH | lch(20.49, 58.42, 299.33°) |
| OKLab | oklab(32.61% -0.0009 -0.1474) |
| OKLCH | oklch(32.61% 0.147 269.7) |
| XYZ | xyz(4.8837, 3.1117, 20.0778) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.91
Royal
#0C1793
ΔE00 5.25
Dark Royal Blue
#02066F
ΔE00 7.59
Sapphire (survey)
#2138AB
ΔE00 7.73
Marine
#042E60
ΔE00 7.89
Darkblue (survey)
#030764
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A267E #7E721A
analogous
#1A587E #1A267E #401A7E
triadic
#1A267E #7E1A26 #267E1A
tetradic
#1A267E #7E1A58 #7E721A #1A7E40
square
#1A267E #7E1A58 #7E721A #1A7E40
split-complementary
#1A267E #7E401A #587E1A
monochromatic
#050819 #10174B #1A267E #2435B1 #3C4ED7
Accessibility & contrast
On white
12.94
#1A267E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1A267E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A267E
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A267E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A267E | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1a267e; /* rgb */ color: rgb(26, 38, 126); /* oklch */ color: oklch(32.6% 0.147 269.7);
Tailwind
colors: {
custom: {
50: '#6960a4',
500: '#1a267e',
950: '#000000',
},
}SCSS
$custom: #1a267e; $custom-light: #6960a4; $custom-dark: #000000;
JSON
{
"hex": "#1a267e",
"rgb": {
"r": 26,
"g": 38,
"b": 126
},
"hsl": {
"h": 232.8,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.32607,
"c": 0.14741,
"h": 269.7
},
"luminance": 0.03112
}Semantic roles & 50–950 ramp
primary
#1A267E
secondary
#B2A542
accent
#D43FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F