#2A33B3#2A33B3
#2A33B3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.198 H 270.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A33B3 |
|---|---|
| RGB | rgb(42, 51, 179) |
| HSL | hsl(236, 62%, 43%) |
| HSV | hsv(236, 77%, 70%) |
| CMYK | cmyk(76.5%, 71.5%, 0%, 29.8%) |
| CIE-LAB | lab(29.70, 41.20, -68.26) |
| CIE-LCH | lch(29.70, 79.73, 301.11°) |
| OKLab | oklab(41.1% 0.0031 -0.1976) |
| OKLCH | oklch(41.1% 0.198 270.9) |
| XYZ | xyz(10.2726, 6.1135, 43.2777) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.32
Blue Blue
#2242C7
ΔE00 4.91
Ocean Blue
#4F42B5
ΔE00 5.57
Indigo Blue
#3A18B1
ΔE00 5.89
Blue With A Hint Of Purple
#533CC6
ΔE00 5.99
Blurple
#5539CC
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A33B3 #B3AA2A
analogous
#2A77B3 #2A33B3 #652AB3
triadic
#2A33B3 #B32A33 #33B32A
tetradic
#2A33B3 #B32A77 #B3AA2A #2AB365
square
#2A33B3 #B32A77 #B3AA2A #2AB365
split-complementary
#2A33B3 #B3652A #77B32A
monochromatic
#131750 #1E2581 #2A33B3 #4650D4 #787FDF
Accessibility & contrast
On white
9.45
#2A33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A33B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A33B3
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A33B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A33B3 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a33b3; /* rgb */ color: rgb(42, 51, 179); /* oklch */ color: oklch(41.1% 0.198 270.9);
Tailwind
colors: {
custom: {
50: '#7a6bcb',
500: '#2a33b3',
950: '#000000',
},
}SCSS
$custom: #2a33b3; $custom-light: #7a6bcb; $custom-dark: #000000;
JSON
{
"hex": "#2a33b3",
"rgb": {
"r": 42,
"g": 51,
"b": 179
},
"hsl": {
"h": 236.058,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.41102,
"c": 0.19764,
"h": 270.9
},
"luminance": 0.06115
}Semantic roles & 50–950 ramp
primary
#2A33B3
secondary
#C7C272
accent
#DA43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82