#2A33AD#2A33AD
#2A33AD is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.190 H 271.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A33AD |
|---|---|
| RGB | rgb(42, 51, 173) |
| HSL | hsl(236, 61%, 42%) |
| HSV | hsv(236, 76%, 68%) |
| CMYK | cmyk(75.7%, 70.5%, 0%, 32.2%) |
| CIE-LAB | lab(29.10, 39.10, -65.67) |
| CIE-LCH | lch(29.10, 76.43, 300.77°) |
| OKLab | oklab(40.49% 0.0039 -0.19) |
| OKLCH | oklch(40.49% 0.19 271.2) |
| XYZ | xyz(9.6789, 5.8760, 40.1511) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.93
Blue Blue
#2242C7
ΔE00 5.35
Ocean Blue
#4F42B5
ΔE00 5.80
Indigo Blue
#3A18B1
ΔE00 6.04
Blueberry
#464196
ΔE00 6.26
Blue With A Hint Of Purple
#533CC6
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A33AD #ADA42A
analogous
#2A75AD #2A33AD #632AAD
triadic
#2A33AD #AD2A33 #33AD2A
tetradic
#2A33AD #AD2A75 #ADA42A #2AAD63
square
#2A33AD #AD2A75 #ADA42A #2AAD63
split-complementary
#2A33AD #AD632A #75AD2A
monochromatic
#12164B #1E247C #2A33AD #434DD1 #747BDD
Accessibility & contrast
On white
9.65
#2A33AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2A33AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A33AD
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A33AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A33AD | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a33ad; /* rgb */ color: rgb(42, 51, 173); /* oklch */ color: oklch(40.5% 0.190 271.2);
Tailwind
colors: {
custom: {
50: '#796bc7',
500: '#2a33ad',
950: '#000000',
},
}SCSS
$custom: #2a33ad; $custom-light: #796bc7; $custom-dark: #000000;
JSON
{
"hex": "#2a33ad",
"rgb": {
"r": 42,
"g": 51,
"b": 173
},
"hsl": {
"h": 235.878,
"s": 60.93,
"l": 42.157
},
"oklch": {
"l": 0.40491,
"c": 0.19009,
"h": 271.2
},
"luminance": 0.05877
}Semantic roles & 50–950 ramp
primary
#2A33AD
secondary
#C5BF6E
accent
#D944E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82