#2A33A8#2A33A8
#2A33A8 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.184 H 271.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A33A8 |
|---|---|
| RGB | rgb(42, 51, 168) |
| HSL | hsl(236, 60%, 41%) |
| HSV | hsv(236, 75%, 66%) |
| CMYK | cmyk(75%, 69.6%, 0%, 34.1%) |
| CIE-LAB | lab(28.61, 37.34, -63.47) |
| CIE-LCH | lch(28.61, 73.64, 300.47°) |
| OKLab | oklab(39.99% 0.0045 -0.1836) |
| OKLCH | oklch(39.99% 0.184 271.4) |
| XYZ | xyz(9.2042, 5.6861, 37.6506) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.84
Blue Blue
#2242C7
ΔE00 5.78
Blueberry
#464196
ΔE00 5.93
Ocean Blue
#4F42B5
ΔE00 6.05
Indigo Blue
#3A18B1
ΔE00 6.26
Darkslateblue
#483D8B
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A33A8 #A89F2A
analogous
#2A72A8 #2A33A8 #602AA8
triadic
#2A33A8 #A82A33 #33A82A
tetradic
#2A33A8 #A82A72 #A89F2A #2AA860
square
#2A33A8 #A82A72 #A89F2A #2AA860
split-complementary
#2A33A8 #A8602A #72A82A
monochromatic
#121546 #1E2477 #2A33A8 #404ACF #7179DB
Accessibility & contrast
On white
9.83
#2A33A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A33A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A33A8
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A33A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A33A8 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a33a8; /* rgb */ color: rgb(42, 51, 168); /* oklch */ color: oklch(40.0% 0.184 271.4);
Tailwind
colors: {
custom: {
50: '#786bc3',
500: '#2a33a8',
950: '#000000',
},
}SCSS
$custom: #2a33a8; $custom-light: #786bc3; $custom-dark: #000000;
JSON
{
"hex": "#2a33a8",
"rgb": {
"r": 42,
"g": 51,
"b": 168
},
"hsl": {
"h": 235.714,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.39988,
"c": 0.18369,
"h": 271.4
},
"luminance": 0.05687
}Semantic roles & 50–950 ramp
primary
#2A33A8
secondary
#C3BC6B
accent
#D845E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82