#2A2A92#2A2A92
#2A2A92 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.165 H 274.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2A92 |
|---|---|
| RGB | rgb(42, 42, 146) |
| HSL | hsl(240, 55%, 37%) |
| HSV | hsv(240, 71%, 57%) |
| CMYK | cmyk(71.2%, 71.2%, 0%, 42.7%) |
| CIE-LAB | lab(24.39, 35.16, -56.98) |
| CIE-LCH | lch(24.39, 66.96, 301.68°) |
| OKLab | oklab(36.3% 0.0127 -0.1647) |
| OKLCH | oklch(36.3% 0.165 274.4) |
| XYZ | xyz(6.9694, 4.2228, 27.6364) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.68
Sapphire (survey)
#2138AB
ΔE00 5.18
Indigo Blue
#3A18B1
ΔE00 6.17
Midnight Blue
#191970
ΔE00 6.39
Cobalt Blue
#030AA7
ΔE00 6.66
Darkslateblue
#483D8B
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2A92 #92922A
analogous
#2A5E92 #2A2A92 #5E2A92
triadic
#2A2A92 #922A2A #2A922A
tetradic
#2A2A92 #922A5E #92922A #2A925E
square
#2A2A92 #922A5E #92922A #2A925E
split-complementary
#2A2A92 #925E2A #5E922A
monochromatic
#0F0F33 #1C1C62 #2A2A92 #3838C2 #6464D2
Accessibility & contrast
On white
11.38
#2A2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2A2A92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2A92
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2A92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2A92 | 1.00 | 11.38 | 1.84 | 11.38 |
| #FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a2a92; /* rgb */ color: rgb(42, 42, 146); /* oklch */ color: oklch(36.3% 0.165 274.4);
Tailwind
colors: {
custom: {
50: '#7364b3',
500: '#2a2a92',
950: '#000000',
},
}SCSS
$custom: #2a2a92; $custom-light: #7364b3; $custom-dark: #000000;
JSON
{
"hex": "#2a2a92",
"rgb": {
"r": 42,
"g": 42,
"b": 146
},
"hsl": {
"h": 240,
"s": 55.319,
"l": 36.863
},
"oklch": {
"l": 0.36297,
"c": 0.16519,
"h": 274.4
},
"luminance": 0.04223
}Semantic roles & 50–950 ramp
primary
#2A2A92
secondary
#B8B85F
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80