#2A33B1#2A33B1
#2A33B1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.195 H 271.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2A33B1 |
|---|---|
| RGB | rgb(42, 51, 177) |
| HSL | hsl(236, 62%, 43%) |
| HSV | hsv(236, 76%, 69%) |
| CMYK | cmyk(76.3%, 71.2%, 0%, 30.6%) |
| CIE-LAB | lab(29.50, 40.50, -67.40) |
| CIE-LCH | lch(29.50, 78.63, 301.00°) |
| OKLab | oklab(40.9% 0.0034 -0.1951) |
| OKLCH | oklch(40.9% 0.195 271) |
| XYZ | xyz(10.0718, 6.0331, 42.2201) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.16
Blue Blue
#2242C7
ΔE00 5.05
Ocean Blue
#4F42B5
ΔE00 5.64
Indigo Blue
#3A18B1
ΔE00 5.93
Blue With A Hint Of Purple
#533CC6
ΔE00 6.16
Blueberry
#464196
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A33B1 #B1A82A
analogous
#2A76B1 #2A33B1 #642AB1
triadic
#2A33B1 #B12A33 #33B12A
tetradic
#2A33B1 #B12A76 #B1A82A #2AB164
square
#2A33B1 #B12A76 #B1A82A #2AB164
split-complementary
#2A33B1 #B1642A #76B12A
monochromatic
#13164E #1E2580 #2A33B1 #454FD3 #777EDF
Accessibility & contrast
On white
9.52
#2A33B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2A33B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A33B1
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A33B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A33B1 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a33b1; /* rgb */ color: rgb(42, 51, 177); /* oklch */ color: oklch(40.9% 0.195 271.0);
Tailwind
colors: {
custom: {
50: '#7a6bca',
500: '#2a33b1',
950: '#000000',
},
}SCSS
$custom: #2a33b1; $custom-light: #7a6bca; $custom-dark: #000000;
JSON
{
"hex": "#2a33b1",
"rgb": {
"r": 42,
"g": 51,
"b": 177
},
"hsl": {
"h": 236,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.40897,
"c": 0.19514,
"h": 271
},
"luminance": 0.06034
}Semantic roles & 50–950 ramp
primary
#2A33B1
secondary
#C6C170
accent
#DA43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82