#1A267F#1A267F
#1A267F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.149 H 269.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1A267F |
|---|---|
| RGB | rgb(26, 38, 127) |
| HSL | hsl(233, 66%, 30%) |
| HSV | hsv(233, 80%, 50%) |
| CMYK | cmyk(79.5%, 70.1%, 0%, 50.2%) |
| CIE-LAB | lab(20.59, 29.00, -51.40) |
| CIE-LCH | lch(20.59, 59.02, 299.43°) |
| OKLab | oklab(32.71% -0.001 -0.1488) |
| OKLCH | oklch(32.71% 0.149 269.6) |
| XYZ | xyz(4.9486, 3.1376, 20.4194) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.96
Royal
#0C1793
ΔE00 5.12
Dark Royal Blue
#02066F
ΔE00 7.59
Sapphire (survey)
#2138AB
ΔE00 7.62
Darkblue
#00008B
ΔE00 7.96
Marine
#042E60
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A267F #7F731A
analogous
#1A597F #1A267F #401A7F
triadic
#1A267F #7F1A26 #267F1A
tetradic
#1A267F #7F1A59 #7F731A #1A7F40
square
#1A267F #7F1A59 #7F731A #1A7F40
split-complementary
#1A267F #7F401A #597F1A
monochromatic
#050819 #10174C #1A267F #2435B2 #3C4FD7
Accessibility & contrast
On white
12.90
#1A267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1A267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A267F
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A267F | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1a267f; /* rgb */ color: rgb(26, 38, 127); /* oklch */ color: oklch(32.7% 0.149 269.6);
Tailwind
colors: {
custom: {
50: '#6960a5',
500: '#1a267f',
950: '#000000',
},
}SCSS
$custom: #1a267f; $custom-light: #6960a5; $custom-dark: #000000;
JSON
{
"hex": "#1a267f",
"rgb": {
"r": 26,
"g": 38,
"b": 127
},
"hsl": {
"h": 232.871,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.32711,
"c": 0.14878,
"h": 269.6
},
"luminance": 0.03138
}Semantic roles & 50–950 ramp
primary
#1A267F
secondary
#B3A642
accent
#D53FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F