#1A267C#1A267C
#1A267C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.145 H 269.7°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1A267C |
|---|---|
| RGB | rgb(26, 38, 124) |
| HSL | hsl(233, 65%, 29%) |
| HSV | hsv(233, 79%, 49%) |
| CMYK | cmyk(79%, 69.4%, 0%, 51.4%) |
| CIE-LAB | lab(20.29, 27.85, -49.99) |
| CIE-LCH | lch(20.29, 57.22, 299.12°) |
| OKLab | oklab(32.4% -0.0007 -0.1447) |
| OKLCH | oklch(32.4% 0.145 269.7) |
| XYZ | xyz(4.7560, 3.0606, 19.4050) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.84
Royal
#0C1793
ΔE00 5.52
Dark Royal Blue
#02066F
ΔE00 7.60
Marine
#042E60
ΔE00 7.67
Darkblue (survey)
#030764
ΔE00 7.97
Sapphire (survey)
#2138AB
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A267C #7C701A
analogous
#1A577C #1A267C #3F1A7C
triadic
#1A267C #7C1A26 #267C1A
tetradic
#1A267C #7C1A57 #7C701A #1A7C3F
square
#1A267C #7C1A57 #7C701A #1A7C3F
split-complementary
#1A267C #7C3F1A #577C1A
monochromatic
#050819 #0F1649 #1A267C #2536AF #3B4ED6
Accessibility & contrast
On white
13.03
#1A267C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1A267C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A267C
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A267C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A267C | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1a267c; /* rgb */ color: rgb(26, 38, 124); /* oklch */ color: oklch(32.4% 0.145 269.7);
Tailwind
colors: {
custom: {
50: '#6860a3',
500: '#1a267c',
950: '#000000',
},
}SCSS
$custom: #1a267c; $custom-light: #6860a3; $custom-dark: #000000;
JSON
{
"hex": "#1a267c",
"rgb": {
"r": 26,
"g": 38,
"b": 124
},
"hsl": {
"h": 232.653,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.324,
"c": 0.14466,
"h": 269.7
},
"luminance": 0.03061
}Semantic roles & 50–950 ramp
primary
#1A267C
secondary
#B0A342
accent
#D440E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F