#2A33B5#2A33B5
#2A33B5 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.3% C 0.200 H 270.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A33B5 |
|---|---|
| RGB | rgb(42, 51, 181) |
| HSL | hsl(236, 62%, 44%) |
| HSV | hsv(236, 77%, 71%) |
| CMYK | cmyk(76.8%, 71.8%, 0%, 29%) |
| CIE-LAB | lab(29.90, 41.89, -69.12) |
| CIE-LCH | lch(29.90, 80.82, 301.22°) |
| OKLab | oklab(41.31% 0.0028 -0.2001) |
| OKLCH | oklch(41.31% 0.2 270.8) |
| XYZ | xyz(10.4763, 6.1949, 44.3507) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.49
Blue Blue
#2242C7
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 5.52
Blue With A Hint Of Purple
#533CC6
ΔE00 5.82
Indigo Blue
#3A18B1
ΔE00 5.87
Blurple
#5539CC
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A33B5 #B5AC2A
analogous
#2A78B5 #2A33B5 #662AB5
triadic
#2A33B5 #B52A33 #33B52A
tetradic
#2A33B5 #B52A78 #B5AC2A #2AB566
square
#2A33B5 #B52A78 #B5AC2A #2AB566
split-complementary
#2A33B5 #B5662A #78B52A
monochromatic
#131752 #1E2583 #2A33B5 #4851D4 #7980E0
Accessibility & contrast
On white
9.38
#2A33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2A33B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A33B5
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A33B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A33B5 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a33b5; /* rgb */ color: rgb(42, 51, 181); /* oklch */ color: oklch(41.3% 0.200 270.8);
Tailwind
colors: {
custom: {
50: '#7b6ccc',
500: '#2a33b5',
950: '#000000',
},
}SCSS
$custom: #2a33b5; $custom-light: #7b6ccc; $custom-dark: #000000;
JSON
{
"hex": "#2a33b5",
"rgb": {
"r": 42,
"g": 51,
"b": 181
},
"hsl": {
"h": 236.115,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.41308,
"c": 0.20013,
"h": 270.8
},
"luminance": 0.06196
}Semantic roles & 50–950 ramp
primary
#2A33B5
secondary
#C8C273
accent
#DB42E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82