#2A2A93#2A2A93
#2A2A93 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.167 H 274.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2A93 |
|---|---|
| RGB | rgb(42, 42, 147) |
| HSL | hsl(240, 56%, 37%) |
| HSV | hsv(240, 71%, 58%) |
| CMYK | cmyk(71.4%, 71.4%, 0%, 42.4%) |
| CIE-LAB | lab(24.49, 35.51, -57.44) |
| CIE-LCH | lch(24.49, 67.53, 301.73°) |
| OKLab | oklab(36.4% 0.0126 -0.166) |
| OKLCH | oklch(36.4% 0.167 274.3) |
| XYZ | xyz(7.0475, 4.2541, 28.0478) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.66
Sapphire (survey)
#2138AB
ΔE00 5.09
Indigo Blue
#3A18B1
ΔE00 6.05
Midnight Blue
#191970
ΔE00 6.51
Cobalt Blue
#030AA7
ΔE00 6.58
Darkslateblue
#483D8B
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2A93 #93932A
analogous
#2A5F93 #2A2A93 #5F2A93
triadic
#2A2A93 #932A2A #2A932A
tetradic
#2A2A93 #932A5F #93932A #2A935F
square
#2A2A93 #932A5F #93932A #2A935F
split-complementary
#2A2A93 #935F2A #5F932A
monochromatic
#0F0F34 #1C1C63 #2A2A93 #3838C3 #6565D3
Accessibility & contrast
On white
11.35
#2A2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2A2A93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2A93
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2A93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2A93 | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a2a93; /* rgb */ color: rgb(42, 42, 147); /* oklch */ color: oklch(36.4% 0.167 274.3);
Tailwind
colors: {
custom: {
50: '#7364b4',
500: '#2a2a93',
950: '#000000',
},
}SCSS
$custom: #2a2a93; $custom-light: #7364b4; $custom-dark: #000000;
JSON
{
"hex": "#2a2a93",
"rgb": {
"r": 42,
"g": 42,
"b": 147
},
"hsl": {
"h": 240,
"s": 55.556,
"l": 37.059
},
"oklch": {
"l": 0.36398,
"c": 0.16651,
"h": 274.3
},
"luminance": 0.04255
}Semantic roles & 50–950 ramp
primary
#2A2A93
secondary
#B9B960
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80