#2A2BA3#2A2BA3
#2A2BA3 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.186 H 272.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2BA3 |
|---|---|
| RGB | rgb(42, 43, 163) |
| HSL | hsl(240, 59%, 40%) |
| HSV | hsv(240, 74%, 64%) |
| CMYK | cmyk(74.2%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(26.34, 40.45, -64.18) |
| CIE-LCH | lch(26.34, 75.86, 302.22°) |
| OKLab | oklab(38.21% 0.0095 -0.1857) |
| OKLCH | oklch(38.21% 0.186 272.9) |
| XYZ | xyz(8.4274, 4.8635, 35.1378) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.94
Indigo Blue
#3A18B1
ΔE00 4.63
Royal
#0C1793
ΔE00 5.25
Cobalt Blue
#030AA7
ΔE00 6.09
True Blue
#010FCC
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2BA3 #A3A22A
analogous
#2A68A3 #2A2BA3 #652AA3
triadic
#2A2BA3 #A32A2B #2BA32A
tetradic
#2A2BA3 #A32A68 #A3A22A #2AA365
square
#2A2BA3 #A32A68 #A3A22A #2AA365
split-complementary
#2A2BA3 #A3652A #68A32A
monochromatic
#111142 #1D1E72 #2A2BA3 #3D3ECD #6E6FDA
Accessibility & contrast
On white
10.64
#2A2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2A2BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2BA3
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2BA3 | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a2ba3; /* rgb */ color: rgb(42, 43, 163); /* oklch */ color: oklch(38.2% 0.186 272.9);
Tailwind
colors: {
custom: {
50: '#7766bf',
500: '#2a2ba3',
950: '#000000',
},
}SCSS
$custom: #2a2ba3; $custom-light: #7766bf; $custom-dark: #000000;
JSON
{
"hex": "#2a2ba3",
"rgb": {
"r": 42,
"g": 43,
"b": 163
},
"hsl": {
"h": 239.504,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.38211,
"c": 0.18593,
"h": 272.9
},
"luminance": 0.04864
}Semantic roles & 50–950 ramp
primary
#2A2BA3
secondary
#C0C068
accent
#E146E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81