#2A2BAB#2A2BAB
#2A2BAB is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.196 H 272.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2BAB |
|---|---|
| RGB | rgb(42, 43, 171) |
| HSL | hsl(240, 61%, 42%) |
| HSV | hsv(240, 75%, 67%) |
| CMYK | cmyk(75.4%, 74.9%, 0%, 32.9%) |
| CIE-LAB | lab(27.18, 43.16, -67.62) |
| CIE-LCH | lch(27.18, 80.22, 302.55°) |
| OKLab | oklab(39.06% 0.0081 -0.1957) |
| OKLCH | oklch(39.06% 0.196 272.4) |
| XYZ | xyz(9.1669, 5.1593, 39.0329) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Indigo Blue
#3A18B1
ΔE00 4.16
True Blue
#010FCC
ΔE00 5.62
Royal
#0C1793
ΔE00 5.81
Cobalt Blue
#030AA7
ΔE00 6.09
Ultramarine
#2000B1
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2BAB #ABAA2A
analogous
#2A6CAB #2A2BAB #6A2AAB
triadic
#2A2BAB #AB2A2B #2BAB2A
tetradic
#2A2BAB #AB2A6C #ABAA2A #2AAB6A
square
#2A2BAB #AB2A6C #ABAA2A #2AAB6A
split-complementary
#2A2BAB #AB6A2A #6CAB2A
monochromatic
#121249 #1E1F7A #2A2BAB #4243D1 #7374DD
Accessibility & contrast
On white
10.33
#2A2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2A2BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2BAB
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2BAB | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a2bab; /* rgb */ color: rgb(42, 43, 171); /* oklch */ color: oklch(39.1% 0.196 272.4);
Tailwind
colors: {
custom: {
50: '#7966c5',
500: '#2a2bab',
950: '#000000',
},
}SCSS
$custom: #2a2bab; $custom-light: #7966c5; $custom-dark: #000000;
JSON
{
"hex": "#2a2bab",
"rgb": {
"r": 42,
"g": 43,
"b": 171
},
"hsl": {
"h": 239.535,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.3906,
"c": 0.19588,
"h": 272.4
},
"luminance": 0.0516
}Semantic roles & 50–950 ramp
primary
#2A2BAB
secondary
#C4C36D
accent
#E244E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82