#2A33A5#2A33A5
#2A33A5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.180 H 271.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A33A5 |
|---|---|
| RGB | rgb(42, 51, 165) |
| HSL | hsl(236, 59%, 41%) |
| HSV | hsv(236, 75%, 65%) |
| CMYK | cmyk(74.5%, 69.1%, 0%, 35.3%) |
| CIE-LAB | lab(28.32, 36.27, -62.14) |
| CIE-LCH | lch(28.32, 71.95, 300.27°) |
| OKLab | oklab(39.69% 0.0048 -0.1798) |
| OKLCH | oklch(39.69% 0.18 271.5) |
| XYZ | xyz(8.9279, 5.5756, 36.1957) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.90
Blueberry
#464196
ΔE00 5.76
Blue Blue
#2242C7
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.23
Indigo Blue
#3A18B1
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A33A5 #A59C2A
analogous
#2A70A5 #2A33A5 #5E2AA5
triadic
#2A33A5 #A52A33 #33A52A
tetradic
#2A33A5 #A52A70 #A59C2A #2AA55E
square
#2A33A5 #A52A70 #A59C2A #2AA55E
split-complementary
#2A33A5 #A55E2A #70A52A
monochromatic
#111543 #1E2474 #2A33A5 #3E49CE #6F77DA
Accessibility & contrast
On white
9.93
#2A33A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2A33A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A33A5
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A33A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A33A5 | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a33a5; /* rgb */ color: rgb(42, 51, 165); /* oklch */ color: oklch(39.7% 0.180 271.5);
Tailwind
colors: {
custom: {
50: '#776bc1',
500: '#2a33a5',
950: '#000000',
},
}SCSS
$custom: #2a33a5; $custom-light: #776bc1; $custom-dark: #000000;
JSON
{
"hex": "#2a33a5",
"rgb": {
"r": 42,
"g": 51,
"b": 165
},
"hsl": {
"h": 235.61,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.39689,
"c": 0.17982,
"h": 271.5
},
"luminance": 0.05577
}Semantic roles & 50–950 ramp
primary
#2A33A5
secondary
#C1BB69
accent
#D745E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81