#2A2BA7#2A2BA7
#2A2BA7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.191 H 272.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2BA7 |
|---|---|
| RGB | rgb(42, 43, 167) |
| HSL | hsl(240, 60%, 41%) |
| HSV | hsv(240, 75%, 65%) |
| CMYK | cmyk(74.9%, 74.3%, 0%, 34.5%) |
| CIE-LAB | lab(26.76, 41.81, -65.91) |
| CIE-LCH | lch(26.76, 78.05, 302.39°) |
| OKLab | oklab(38.63% 0.0088 -0.1907) |
| OKLCH | oklch(38.63% 0.191 272.6) |
| XYZ | xyz(8.7914, 5.0091, 37.0553) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Indigo Blue
#3A18B1
ΔE00 4.36
Royal
#0C1793
ΔE00 5.50
True Blue
#010FCC
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.06
Ultramarine
#2000B1
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2BA7 #A7A62A
analogous
#2A69A7 #2A2BA7 #672AA7
triadic
#2A2BA7 #A72A2B #2BA72A
tetradic
#2A2BA7 #A72A69 #A7A62A #2AA767
square
#2A2BA7 #A72A69 #A7A62A #2AA767
split-complementary
#2A2BA7 #A7672A #69A72A
monochromatic
#111245 #1E1E76 #2A2BA7 #3F41CF #7071DB
Accessibility & contrast
On white
10.49
#2A2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2A2BA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2BA7
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2BA7 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a2ba7; /* rgb */ color: rgb(42, 43, 167); /* oklch */ color: oklch(38.6% 0.191 272.6);
Tailwind
colors: {
custom: {
50: '#7866c2',
500: '#2a2ba7',
950: '#000000',
},
}SCSS
$custom: #2a2ba7; $custom-light: #7866c2; $custom-dark: #000000;
JSON
{
"hex": "#2a2ba7",
"rgb": {
"r": 42,
"g": 43,
"b": 167
},
"hsl": {
"h": 239.52,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.38634,
"c": 0.19093,
"h": 272.6
},
"luminance": 0.0501
}Semantic roles & 50–950 ramp
primary
#2A2BA7
secondary
#C2C16B
accent
#E245E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82