#2A2BA1#2A2BA1
#2A2BA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.183 H 273.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2BA1 |
|---|---|
| RGB | rgb(42, 43, 161) |
| HSL | hsl(239, 59%, 40%) |
| HSV | hsv(239, 74%, 63%) |
| CMYK | cmyk(73.9%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(26.13, 39.76, -63.31) |
| CIE-LCH | lch(26.13, 74.76, 302.13°) |
| OKLab | oklab(38% 0.0098 -0.1831) |
| OKLCH | oklch(38% 0.183 273.1) |
| XYZ | xyz(8.2496, 4.7924, 34.2016) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.00
Indigo Blue
#3A18B1
ΔE00 4.79
Royal
#0C1793
ΔE00 5.14
Cobalt Blue
#030AA7
ΔE00 6.12
Royal Blue (survey)
#0504AA
ΔE00 6.60
Ultramarine
#2000B1
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2BA1 #A1A02A
analogous
#2A66A1 #2A2BA1 #652AA1
triadic
#2A2BA1 #A12A2B #2BA12A
tetradic
#2A2BA1 #A12A66 #A1A02A #2AA165
square
#2A2BA1 #A12A66 #A1A02A #2AA165
split-complementary
#2A2BA1 #A1652A #66A12A
monochromatic
#111140 #1D1E70 #2A2BA1 #3C3DCC #6D6ED9
Accessibility & contrast
On white
10.72
#2A2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2A2BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2BA1
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2BA1 | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a2ba1; /* rgb */ color: rgb(42, 43, 161); /* oklch */ color: oklch(38.0% 0.183 273.1);
Tailwind
colors: {
custom: {
50: '#7766be',
500: '#2a2ba1',
950: '#000000',
},
}SCSS
$custom: #2a2ba1; $custom-light: #7766be; $custom-dark: #000000;
JSON
{
"hex": "#2a2ba1",
"rgb": {
"r": 42,
"g": 43,
"b": 161
},
"hsl": {
"h": 239.496,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.38001,
"c": 0.18341,
"h": 273.1
},
"luminance": 0.04793
}Semantic roles & 50–950 ramp
primary
#2A2BA1
secondary
#C0BF67
accent
#E146E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81