#2A2DAA#2A2DAA
#2A2DAA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.193 H 272.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2DAA |
|---|---|
| RGB | rgb(42, 45, 170) |
| HSL | hsl(239, 60%, 42%) |
| HSV | hsv(239, 75%, 67%) |
| CMYK | cmyk(75.3%, 73.5%, 0%, 33.3%) |
| CIE-LAB | lab(27.49, 41.66, -66.51) |
| CIE-LCH | lch(27.49, 78.48, 302.06°) |
| OKLab | oklab(39.25% 0.0073 -0.1925) |
| OKLCH | oklch(39.25% 0.193 272.2) |
| XYZ | xyz(9.1465, 5.2703, 38.5577) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.37
Indigo Blue
#3A18B1
ΔE00 4.66
True Blue
#010FCC
ΔE00 6.07
Royal
#0C1793
ΔE00 6.09
Cobalt Blue
#030AA7
ΔE00 6.54
Ultramarine
#2000B1
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2DAA #AAA72A
analogous
#2A6DAA #2A2DAA #672AAA
triadic
#2A2DAA #AA2A2D #2DAA2A
tetradic
#2A2DAA #AA2A6D #AAA72A #2AAA67
square
#2A2DAA #AA2A6D #AAA72A #2AAA67
split-complementary
#2A2DAA #AA672A #6DAA2A
monochromatic
#121348 #1E2079 #2A2DAA #4144D0 #7275DC
Accessibility & contrast
On white
10.22
#2A2DAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2A2DAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2DAA
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2DAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2DAA | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a2daa; /* rgb */ color: rgb(42, 45, 170); /* oklch */ color: oklch(39.2% 0.193 272.2);
Tailwind
colors: {
custom: {
50: '#7967c5',
500: '#2a2daa',
950: '#000000',
},
}SCSS
$custom: #2a2daa; $custom-light: #7967c5; $custom-dark: #000000;
JSON
{
"hex": "#2a2daa",
"rgb": {
"r": 42,
"g": 45,
"b": 170
},
"hsl": {
"h": 238.594,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.39248,
"c": 0.19264,
"h": 272.2
},
"luminance": 0.05271
}Semantic roles & 50–950 ramp
primary
#2A2DAA
secondary
#C3C16C
accent
#E044E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82