#2A2BA8#2A2BA8
#2A2BA8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.192 H 272.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2BA8 |
|---|---|
| RGB | rgb(42, 43, 168) |
| HSL | hsl(240, 60%, 41%) |
| HSV | hsv(240, 75%, 66%) |
| CMYK | cmyk(75%, 74.4%, 0%, 34.1%) |
| CIE-LAB | lab(26.87, 42.15, -66.34) |
| CIE-LCH | lch(26.87, 78.60, 302.43°) |
| OKLab | oklab(38.74% 0.0086 -0.192) |
| OKLCH | oklch(38.74% 0.192 272.6) |
| XYZ | xyz(8.8842, 5.0462, 37.5440) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Indigo Blue
#3A18B1
ΔE00 4.30
Royal
#0C1793
ΔE00 5.57
True Blue
#010FCC
ΔE00 5.90
Cobalt Blue
#030AA7
ΔE00 6.06
Ultramarine
#2000B1
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2BA8 #A8A72A
analogous
#2A6AA8 #2A2BA8 #682AA8
triadic
#2A2BA8 #A82A2B #2BA82A
tetradic
#2A2BA8 #A82A6A #A8A72A #2AA868
square
#2A2BA8 #A82A6A #A8A72A #2AA868
split-complementary
#2A2BA8 #A8682A #6AA82A
monochromatic
#121246 #1E1E77 #2A2BA8 #4041CF #7172DB
Accessibility & contrast
On white
10.45
#2A2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2A2BA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2BA8
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2BA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2BA8 | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a2ba8; /* rgb */ color: rgb(42, 43, 168); /* oklch */ color: oklch(38.7% 0.192 272.6);
Tailwind
colors: {
custom: {
50: '#7866c3',
500: '#2a2ba8',
950: '#000000',
},
}SCSS
$custom: #2a2ba8; $custom-light: #7866c3; $custom-dark: #000000;
JSON
{
"hex": "#2a2ba8",
"rgb": {
"r": 42,
"g": 43,
"b": 168
},
"hsl": {
"h": 239.524,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.3874,
"c": 0.19217,
"h": 272.6
},
"luminance": 0.05047
}Semantic roles & 50–950 ramp
primary
#2A2BA8
secondary
#C3C26B
accent
#E245E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82