#2A23A2#2A23A2
#2A23A2 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.192 H 274.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A23A2 |
|---|---|
| RGB | rgb(42, 35, 162) |
| HSL | hsl(243, 64%, 39%) |
| HSV | hsv(243, 78%, 64%) |
| CMYK | cmyk(74.1%, 78.4%, 0%, 36.5%) |
| CIE-LAB | lab(24.65, 44.61, -66.37) |
| CIE-LCH | lch(24.65, 79.97, 303.90°) |
| OKLab | oklab(36.98% 0.0134 -0.192) |
| OKLCH | oklch(36.98% 0.192 274) |
| XYZ | xyz(8.0753, 4.3021, 34.5802) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.33
Royal
#0C1793
ΔE00 3.84
Cobalt Blue
#030AA7
ΔE00 4.35
Ultramarine
#2000B1
ΔE00 4.79
Royal Blue (survey)
#0504AA
ΔE00 4.79
True Blue
#010FCC
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A23A2 #9BA223
analogous
#235BA2 #2A23A2 #6923A2
triadic
#2A23A2 #A22A23 #23A22A
tetradic
#2A23A2 #A2235B #9BA223 #23A269
square
#2A23A2 #A2235B #9BA223 #23A269
split-complementary
#2A23A2 #A26923 #5BA223
monochromatic
#100D3D #1D1870 #2A23A2 #3930D2 #6962DD
Accessibility & contrast
On white
11.29
#2A23A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2A23A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A23A2
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A23A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A23A2 | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0034A0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a23a2; /* rgb */ color: rgb(42, 35, 162); /* oklch */ color: oklch(37.0% 0.192 274.0);
Tailwind
colors: {
custom: {
50: '#7861bf',
500: '#2a23a2',
950: '#000000',
},
}SCSS
$custom: #2a23a2; $custom-light: #7861bf; $custom-dark: #000000;
JSON
{
"hex": "#2a23a2",
"rgb": {
"r": 42,
"g": 35,
"b": 162
},
"hsl": {
"h": 243.307,
"s": 64.467,
"l": 38.627
},
"oklch": {
"l": 0.36979,
"c": 0.19248,
"h": 274
},
"luminance": 0.04303
}Semantic roles & 50–950 ramp
primary
#2A23A2
secondary
#BDC25E
accent
#E740DE
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981