#2C33AB#2C33AB
#2C33AB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.187 H 271.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2C33AB |
|---|---|
| RGB | rgb(44, 51, 171) |
| HSL | hsl(237, 59%, 42%) |
| HSV | hsv(237, 74%, 67%) |
| CMYK | cmyk(74.3%, 70.2%, 0%, 32.9%) |
| CIE-LAB | lab(29.01, 38.60, -64.60) |
| CIE-LCH | lch(29.01, 75.26, 300.86°) |
| OKLab | oklab(40.4% 0.0063 -0.1869) |
| OKLCH | oklch(40.4% 0.187 271.9) |
| XYZ | xyz(9.5707, 5.8424, 39.1435) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.00
Blue Blue
#2242C7
ΔE00 5.54
Ocean Blue
#4F42B5
ΔE00 5.75
Indigo Blue
#3A18B1
ΔE00 6.02
Blueberry
#464196
ΔE00 6.04
Blue With A Hint Of Purple
#533CC6
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C33AB #ABA42C
analogous
#2C73AB #2C33AB #652CAB
triadic
#2C33AB #AB2C33 #33AB2C
tetradic
#2C33AB #AB2C73 #ABA42C #2CAB65
square
#2C33AB #AB2C73 #ABA42C #2CAB65
split-complementary
#2C33AB #AB652C #73AB2C
monochromatic
#13164A #1F247A #2C33AB #454DCF #767BDC
Accessibility & contrast
On white
9.68
#2C33AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2C33AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C33AB
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C33AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C33AB | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c33ab; /* rgb */ color: rgb(44, 51, 171); /* oklch */ color: oklch(40.4% 0.187 271.9);
Tailwind
colors: {
custom: {
50: '#796bc5',
500: '#2c33ab',
950: '#000000',
},
}SCSS
$custom: #2c33ab; $custom-light: #796bc5; $custom-dark: #000000;
JSON
{
"hex": "#2c33ab",
"rgb": {
"r": 44,
"g": 51,
"b": 171
},
"hsl": {
"h": 236.693,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.40399,
"c": 0.18702,
"h": 271.9
},
"luminance": 0.05843
}Semantic roles & 50–950 ramp
primary
#2C33AB
secondary
#C3BF6F
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82