#1A298E#1A298E
#1A298E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.165 H 268.6°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1A298E |
|---|---|
| RGB | rgb(26, 41, 142) |
| HSL | hsl(232, 69%, 33%) |
| HSV | hsv(232, 82%, 56%) |
| CMYK | cmyk(81.7%, 71.1%, 0%, 44.3%) |
| CIE-LAB | lab(22.85, 32.71, -57.07) |
| CIE-LCH | lch(22.85, 65.78, 299.82°) |
| OKLab | oklab(34.82% -0.0039 -0.1653) |
| OKLCH | oklch(34.82% 0.165 268.6) |
| XYZ | xyz(6.0997, 3.7578, 25.9898) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 5.53
Midnight Blue
#191970
ΔE00 5.78
Cobalt Blue
#030AA7
ΔE00 6.94
Indigo Blue
#3A18B1
ΔE00 7.41
Royal Blue (survey)
#0504AA
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A298E #8E7F1A
analogous
#1A638E #1A298E #451A8E
triadic
#1A298E #8E1A29 #298E1A
tetradic
#1A298E #8E1A63 #8E7F1A #1A8E45
square
#1A298E #8E1A63 #8E7F1A #1A8E45
split-complementary
#1A298E #8E451A #638E1A
monochromatic
#070B27 #111A5A #1A298E #2338C2 #4559DD
Accessibility & contrast
On white
11.99
#1A298E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1A298E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A298E
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A298E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A298E | 1.00 | 11.99 | 1.75 | 11.99 |
| #FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1a298e; /* rgb */ color: rgb(26, 41, 142); /* oklch */ color: oklch(34.8% 0.165 268.6);
Tailwind
colors: {
custom: {
50: '#6d63b0',
500: '#1a298e',
950: '#000000',
},
}SCSS
$custom: #1a298e; $custom-light: #6d63b0; $custom-dark: #000000;
JSON
{
"hex": "#1a298e",
"rgb": {
"r": 26,
"g": 41,
"b": 142
},
"hsl": {
"h": 232.241,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.34819,
"c": 0.16538,
"h": 268.6
},
"luminance": 0.03758
}Semantic roles & 50–950 ramp
primary
#1A298E
secondary
#BEAF45
accent
#D53CEC
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980