#2A33A9#2A33A9
#2A33A9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.185 H 271.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A33A9 |
|---|---|
| RGB | rgb(42, 51, 169) |
| HSL | hsl(236, 60%, 41%) |
| HSV | hsv(236, 75%, 66%) |
| CMYK | cmyk(75.1%, 69.8%, 0%, 33.7%) |
| CIE-LAB | lab(28.70, 37.69, -63.91) |
| CIE-LCH | lch(28.70, 74.20, 300.53°) |
| OKLab | oklab(40.09% 0.0044 -0.1849) |
| OKLCH | oklch(40.09% 0.185 271.3) |
| XYZ | xyz(9.2977, 5.7235, 38.1432) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.84
Blue Blue
#2242C7
ΔE00 5.69
Ocean Blue
#4F42B5
ΔE00 5.99
Blueberry
#464196
ΔE00 5.99
Indigo Blue
#3A18B1
ΔE00 6.21
Blue With A Hint Of Purple
#533CC6
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A33A9 #A9A02A
analogous
#2A73A9 #2A33A9 #612AA9
triadic
#2A33A9 #A92A33 #33A92A
tetradic
#2A33A9 #A92A73 #A9A02A #2AA961
square
#2A33A9 #A92A73 #A9A02A #2AA961
split-complementary
#2A33A9 #A9612A #73A92A
monochromatic
#121547 #1E2478 #2A33A9 #414BD0 #7279DC
Accessibility & contrast
On white
9.79
#2A33A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A33A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A33A9
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A33A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A33A9 | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a33a9; /* rgb */ color: rgb(42, 51, 169); /* oklch */ color: oklch(40.1% 0.185 271.3);
Tailwind
colors: {
custom: {
50: '#786bc4',
500: '#2a33a9',
950: '#000000',
},
}SCSS
$custom: #2a33a9; $custom-light: #786bc4; $custom-dark: #000000;
JSON
{
"hex": "#2a33a9",
"rgb": {
"r": 42,
"g": 51,
"b": 169
},
"hsl": {
"h": 235.748,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.40088,
"c": 0.18498,
"h": 271.3
},
"luminance": 0.05724
}Semantic roles & 50–950 ramp
primary
#2A33A9
secondary
#C3BD6C
accent
#D844E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82