#2A33A2#2A33A2
#2A33A2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.176 H 271.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2A33A2 |
|---|---|
| RGB | rgb(42, 51, 162) |
| HSL | hsl(236, 59%, 40%) |
| HSV | hsv(236, 74%, 64%) |
| CMYK | cmyk(74.1%, 68.5%, 0%, 36.5%) |
| CIE-LAB | lab(28.03, 35.20, -60.80) |
| CIE-LCH | lch(28.03, 70.25, 300.07°) |
| OKLab | oklab(39.39% 0.0051 -0.1758) |
| OKLCH | oklch(39.39% 0.176 271.7) |
| XYZ | xyz(8.6581, 5.4676, 34.7745) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.06
Blueberry
#464196
ΔE00 5.60
Blue Blue
#2242C7
ΔE00 6.35
Ocean Blue
#4F42B5
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.52
Indigo Blue
#3A18B1
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A33A2 #A2992A
analogous
#2A6FA2 #2A33A2 #5D2AA2
triadic
#2A33A2 #A22A33 #33A22A
tetradic
#2A33A2 #A22A6F #A2992A #2AA25D
square
#2A33A2 #A22A6F #A2992A #2AA25D
split-complementary
#2A33A2 #A25D2A #6FA22A
monochromatic
#111441 #1D2471 #2A33A2 #3D47CD #6D75D9
Accessibility & contrast
On white
10.03
#2A33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2A33A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A33A2
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A33A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A33A2 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a33a2; /* rgb */ color: rgb(42, 51, 162); /* oklch */ color: oklch(39.4% 0.176 271.7);
Tailwind
colors: {
custom: {
50: '#766bbf',
500: '#2a33a2',
950: '#000000',
},
}SCSS
$custom: #2a33a2; $custom-light: #766bbf; $custom-dark: #000000;
JSON
{
"hex": "#2a33a2",
"rgb": {
"r": 42,
"g": 51,
"b": 162
},
"hsl": {
"h": 235.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.39393,
"c": 0.17591,
"h": 271.7
},
"luminance": 0.05469
}Semantic roles & 50–950 ramp
primary
#2A33A2
secondary
#C0B968
accent
#D646E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81