#2A2BAD#2A2BAD
#2A2BAD is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.198 H 272.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2BAD |
|---|---|
| RGB | rgb(42, 43, 173) |
| HSL | hsl(240, 61%, 42%) |
| HSV | hsv(240, 76%, 68%) |
| CMYK | cmyk(75.7%, 75.1%, 0%, 32.2%) |
| CIE-LAB | lab(27.40, 43.83, -68.47) |
| CIE-LCH | lch(27.40, 81.30, 302.63°) |
| OKLab | oklab(39.28% 0.0077 -0.1982) |
| OKLCH | oklch(39.28% 0.198 272.2) |
| XYZ | xyz(9.3590, 5.2361, 40.0445) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.89
Indigo Blue
#3A18B1
ΔE00 4.08
True Blue
#010FCC
ΔE00 5.44
Royal
#0C1793
ΔE00 5.97
Cobalt Blue
#030AA7
ΔE00 6.13
Ultramarine
#2000B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2BAD #ADAC2A
analogous
#2A6DAD #2A2BAD #6B2AAD
triadic
#2A2BAD #AD2A2B #2BAD2A
tetradic
#2A2BAD #AD2A6D #ADAC2A #2AAD6B
square
#2A2BAD #AD2A6D #ADAC2A #2AAD6B
split-complementary
#2A2BAD #AD6B2A #6DAD2A
monochromatic
#12134B #1E1F7C #2A2BAD #4344D1 #7475DD
Accessibility & contrast
On white
10.26
#2A2BAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2A2BAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2BAD
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2BAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2BAD | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B1
Deuteranopia (green-blind)
#003AAB
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a2bad; /* rgb */ color: rgb(42, 43, 173); /* oklch */ color: oklch(39.3% 0.198 272.2);
Tailwind
colors: {
custom: {
50: '#7a66c7',
500: '#2a2bad',
950: '#000000',
},
}SCSS
$custom: #2a2bad; $custom-light: #7a66c7; $custom-dark: #000000;
JSON
{
"hex": "#2a2bad",
"rgb": {
"r": 42,
"g": 43,
"b": 173
},
"hsl": {
"h": 239.542,
"s": 60.93,
"l": 42.157
},
"oklch": {
"l": 0.39275,
"c": 0.19833,
"h": 272.2
},
"luminance": 0.05237
}Semantic roles & 50–950 ramp
primary
#2A2BAD
secondary
#C5C46E
accent
#E344E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82