#2A2BA2#2A2BA2
#2A2BA2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.185 H 273.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2BA2 |
|---|---|
| RGB | rgb(42, 43, 162) |
| HSL | hsl(240, 59%, 40%) |
| HSV | hsv(240, 74%, 64%) |
| CMYK | cmyk(74.1%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(26.24, 40.10, -63.74) |
| CIE-LCH | lch(26.24, 75.31, 302.18°) |
| OKLab | oklab(38.11% 0.0096 -0.1844) |
| OKLCH | oklch(38.11% 0.185 273) |
| XYZ | xyz(8.3381, 4.8278, 34.6678) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.97
Indigo Blue
#3A18B1
ΔE00 4.71
Royal
#0C1793
ΔE00 5.19
Cobalt Blue
#030AA7
ΔE00 6.10
True Blue
#010FCC
ΔE00 6.54
Royal Blue (survey)
#0504AA
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2BA2 #A2A12A
analogous
#2A67A2 #2A2BA2 #652AA2
triadic
#2A2BA2 #A22A2B #2BA22A
tetradic
#2A2BA2 #A22A67 #A2A12A #2AA265
square
#2A2BA2 #A22A67 #A2A12A #2AA265
split-complementary
#2A2BA2 #A2652A #67A22A
monochromatic
#111141 #1D1E71 #2A2BA2 #3D3ECD #6D6ED9
Accessibility & contrast
On white
10.68
#2A2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2A2BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2BA2
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2BA2 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a2ba2; /* rgb */ color: rgb(42, 43, 162); /* oklch */ color: oklch(38.1% 0.185 273.0);
Tailwind
colors: {
custom: {
50: '#7766bf',
500: '#2a2ba2',
950: '#000000',
},
}SCSS
$custom: #2a2ba2; $custom-light: #7766bf; $custom-dark: #000000;
JSON
{
"hex": "#2a2ba2",
"rgb": {
"r": 42,
"g": 43,
"b": 162
},
"hsl": {
"h": 239.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.38106,
"c": 0.18467,
"h": 273
},
"luminance": 0.04829
}Semantic roles & 50–950 ramp
primary
#2A2BA2
secondary
#C0BF68
accent
#E146E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81