#2A33A3#2A33A3
#2A33A3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.177 H 271.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2A33A3 |
|---|---|
| RGB | rgb(42, 51, 163) |
| HSL | hsl(236, 59%, 40%) |
| HSV | hsv(236, 74%, 64%) |
| CMYK | cmyk(74.2%, 68.7%, 0%, 36.1%) |
| CIE-LAB | lab(28.12, 35.56, -61.25) |
| CIE-LCH | lch(28.12, 70.82, 300.14°) |
| OKLab | oklab(39.49% 0.005 -0.1771) |
| OKLCH | oklch(39.49% 0.177 271.6) |
| XYZ | xyz(8.7473, 5.5033, 35.2445) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.00
Blueberry
#464196
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 6.25
Ocean Blue
#4F42B5
ΔE00 6.36
Indigo Blue
#3A18B1
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A33A3 #A39A2A
analogous
#2A70A3 #2A33A3 #5D2AA3
triadic
#2A33A3 #A32A33 #33A32A
tetradic
#2A33A3 #A32A70 #A39A2A #2AA35D
square
#2A33A3 #A32A70 #A39A2A #2AA35D
split-complementary
#2A33A3 #A35D2A #70A32A
monochromatic
#111542 #1D2472 #2A33A3 #3D48CD #6E76DA
Accessibility & contrast
On white
10.00
#2A33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2A33A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A33A3
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A33A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A33A3 | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a33a3; /* rgb */ color: rgb(42, 51, 163); /* oklch */ color: oklch(39.5% 0.177 271.6);
Tailwind
colors: {
custom: {
50: '#766bbf',
500: '#2a33a3',
950: '#000000',
},
}SCSS
$custom: #2a33a3; $custom-light: #766bbf; $custom-dark: #000000;
JSON
{
"hex": "#2a33a3",
"rgb": {
"r": 42,
"g": 51,
"b": 163
},
"hsl": {
"h": 235.537,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.39492,
"c": 0.17722,
"h": 271.6
},
"luminance": 0.05504
}Semantic roles & 50–950 ramp
primary
#2A33A3
secondary
#C0BA68
accent
#D746E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81