#2C32A7#2C32A7
#2C32A7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.183 H 272.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2C32A7 |
|---|---|
| RGB | rgb(44, 50, 167) |
| HSL | hsl(237, 58%, 41%) |
| HSV | hsv(237, 74%, 65%) |
| CMYK | cmyk(73.7%, 70.1%, 0%, 34.5%) |
| CIE-LAB | lab(28.40, 37.81, -63.21) |
| CIE-LCH | lch(28.40, 73.66, 300.89°) |
| OKLab | oklab(39.84% 0.0074 -0.1828) |
| OKLCH | oklch(39.84% 0.183 272.3) |
| XYZ | xyz(9.1520, 5.6058, 37.1514) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.22
Indigo Blue
#3A18B1
ΔE00 5.95
Blueberry
#464196
ΔE00 5.95
Blue Blue
#2242C7
ΔE00 6.08
Ocean Blue
#4F42B5
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C32A7 #A7A12C
analogous
#2C70A7 #2C32A7 #642CA7
triadic
#2C32A7 #A72C32 #32A72C
tetradic
#2C32A7 #A72C70 #A7A12C #2CA764
square
#2C32A7 #A72C70 #A7A12C #2CA764
split-complementary
#2C32A7 #A7642C #70A72C
monochromatic
#121546 #1F2377 #2C32A7 #434ACD #7378DA
Accessibility & contrast
On white
9.90
#2C32A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2C32A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C32A7
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C32A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C32A7 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c32a7; /* rgb */ color: rgb(44, 50, 167); /* oklch */ color: oklch(39.8% 0.183 272.3);
Tailwind
colors: {
custom: {
50: '#786ac2',
500: '#2c32a7',
950: '#000000',
},
}SCSS
$custom: #2c32a7; $custom-light: #786ac2; $custom-dark: #000000;
JSON
{
"hex": "#2c32a7",
"rgb": {
"r": 44,
"g": 50,
"b": 167
},
"hsl": {
"h": 237.073,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.39837,
"c": 0.18299,
"h": 272.3
},
"luminance": 0.05607
}Semantic roles & 50–950 ramp
primary
#2C32A7
secondary
#C2BE6D
accent
#DA46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82