#2A1989#2A1989
#2A1989 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.171 H 278.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1989 |
|---|---|
| RGB | rgb(42, 25, 137) |
| HSL | hsl(249, 69%, 32%) |
| HSV | hsv(249, 82%, 54%) |
| CMYK | cmyk(69.3%, 81.8%, 0%, 46.3%) |
| CIE-LAB | lab(20.02, 41.79, -58.60) |
| CIE-LCH | lch(20.02, 71.98, 305.49°) |
| OKLab | oklab(32.91% 0.0245 -0.1693) |
| OKLCH | oklch(32.91% 0.171 278.2) |
| XYZ | xyz(5.8164, 2.9931, 23.9333) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.58
Indigo (survey)
#380282
ΔE00 4.05
Midnight Blue
#191970
ΔE00 4.45
Darkblue
#00008B
ΔE00 4.54
Cobalt Blue
#030AA7
ΔE00 4.75
Navy
#000080
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1989 #788919
analogous
#194089 #2A1989 #621989
triadic
#2A1989 #892A19 #19892A
tetradic
#2A1989 #891940 #788919 #198962
square
#2A1989 #891940 #788919 #198962
split-complementary
#2A1989 #896219 #408919
monochromatic
#0A0621 #1A1055 #2A1989 #3A22BD #5840DC
Accessibility & contrast
On white
13.13
#2A1989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2A1989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1989
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1989 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2a1989; /* rgb */ color: rgb(42, 25, 137); /* oklch */ color: oklch(32.9% 0.171 278.2);
Tailwind
colors: {
custom: {
50: '#7359ad',
500: '#2a1989',
950: '#000000',
},
}SCSS
$custom: #2a1989; $custom-light: #7359ad; $custom-dark: #000000;
JSON
{
"hex": "#2a1989",
"rgb": {
"r": 42,
"g": 25,
"b": 137
},
"hsl": {
"h": 249.107,
"s": 69.136,
"l": 31.765
},
"oklch": {
"l": 0.32912,
"c": 0.17106,
"h": 278.2
},
"luminance": 0.02994
}Semantic roles & 50–950 ramp
primary
#2A1989
secondary
#AABC41
accent
#EC3CD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F