#2C328E#2C328E
#2C328E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.150 H 273.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C328E |
|---|---|
| RGB | rgb(44, 50, 142) |
| HSL | hsl(236, 53%, 36%) |
| HSV | hsv(236, 69%, 56%) |
| CMYK | cmyk(69%, 64.8%, 0%, 44.3%) |
| CIE-LAB | lab(26.07, 28.86, -51.77) |
| CIE-LCH | lch(26.07, 59.27, 299.14°) |
| OKLab | oklab(37.43% 0.0098 -0.1493) |
| OKLCH | oklch(37.43% 0.15 273.7) |
| XYZ | xyz(7.0602, 4.7690, 26.1344) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.47
Blueberry
#464196
ΔE00 5.27
Darkslateblue
#483D8B
ΔE00 5.30
Royal
#0C1793
ΔE00 7.03
Midnight Blue
#191970
ΔE00 7.58
Ocean Blue
#4F42B5
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C328E #8E882C
analogous
#2C638E #2C328E #572C8E
triadic
#2C328E #8E2C32 #328E2C
tetradic
#2C328E #8E2C63 #8E882C #2C8E57
square
#2C328E #8E2C63 #8E882C #2C8E57
split-complementary
#2C328E #8E572C #638E2C
monochromatic
#0F1131 #1E225F #2C328E #3A42BD #656CCF
Accessibility & contrast
On white
10.75
#2C328E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2C328E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C328E
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C328E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C328E | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c328e; /* rgb */ color: rgb(44, 50, 142); /* oklch */ color: oklch(37.4% 0.150 273.7);
Tailwind
colors: {
custom: {
50: '#726ab0',
500: '#2c328e',
950: '#000000',
},
}SCSS
$custom: #2c328e; $custom-light: #726ab0; $custom-dark: #000000;
JSON
{
"hex": "#2c328e",
"rgb": {
"r": 44,
"g": 50,
"b": 142
},
"hsl": {
"h": 236.327,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.37431,
"c": 0.14966,
"h": 273.7
},
"luminance": 0.0477
}Semantic roles & 50–950 ramp
primary
#2C328E
secondary
#B6B060
accent
#D34CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80