#2A1984#2A1984
#2A1984 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.165 H 279.1°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1984 |
|---|---|
| RGB | rgb(42, 25, 132) |
| HSL | hsl(250, 68%, 31%) |
| HSV | hsv(250, 81%, 52%) |
| CMYK | cmyk(68.2%, 81.1%, 0%, 48.2%) |
| CIE-LAB | lab(19.45, 40.21, -56.40) |
| CIE-LCH | lch(19.45, 69.27, 305.49°) |
| OKLab | oklab(32.35% 0.026 -0.1629) |
| OKLCH | oklch(32.35% 0.165 279.1) |
| XYZ | xyz(5.4660, 2.8530, 22.0880) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.07
Midnight Blue
#191970
ΔE00 3.81
Indigo (survey)
#380282
ΔE00 3.98
Darkblue
#00008B
ΔE00 4.69
Navy
#000080
ΔE00 4.96
Cobalt Blue
#030AA7
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1984 #738419
analogous
#193D84 #2A1984 #5F1984
triadic
#2A1984 #842A19 #19842A
tetradic
#2A1984 #84193D #738419 #19845F
square
#2A1984 #84193D #738419 #19845F
split-complementary
#2A1984 #845F19 #3D8419
monochromatic
#09061D #1A0F51 #2A1984 #3A23B7 #563DDA
Accessibility & contrast
On white
13.37
#2A1984 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2A1984 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1984
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1984 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1984 | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2a1984; /* rgb */ color: rgb(42, 25, 132); /* oklch */ color: oklch(32.3% 0.165 279.1);
Tailwind
colors: {
custom: {
50: '#7259a9',
500: '#2a1984',
950: '#000000',
},
}SCSS
$custom: #2a1984; $custom-light: #7259a9; $custom-dark: #000000;
JSON
{
"hex": "#2a1984",
"rgb": {
"r": 42,
"g": 25,
"b": 132
},
"hsl": {
"h": 249.533,
"s": 68.153,
"l": 30.784
},
"oklch": {
"l": 0.32346,
"c": 0.16494,
"h": 279.1
},
"luminance": 0.02853
}Semantic roles & 50–950 ramp
primary
#2A1984
secondary
#A5B841
accent
#EB3DCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F