#2C328D#2C328D
#2C328D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.148 H 273.8°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C328D |
|---|---|
| RGB | rgb(44, 50, 141) |
| HSL | hsl(236, 52%, 36%) |
| HSV | hsv(236, 69%, 55%) |
| CMYK | cmyk(68.8%, 64.5%, 0%, 44.7%) |
| CIE-LAB | lab(25.98, 28.50, -51.29) |
| CIE-LCH | lch(25.98, 58.67, 299.06°) |
| OKLab | oklab(37.34% 0.0098 -0.1479) |
| OKLCH | oklch(37.34% 0.148 273.8) |
| XYZ | xyz(6.9854, 4.7391, 25.7408) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.61
Darkslateblue
#483D8B
ΔE00 5.27
Blueberry
#464196
ΔE00 5.29
Royal
#0C1793
ΔE00 7.08
Midnight Blue
#191970
ΔE00 7.52
Ocean Blue
#4F42B5
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C328D #8D872C
analogous
#2C638D #2C328D #572C8D
triadic
#2C328D #8D2C32 #328D2C
tetradic
#2C328D #8D2C63 #8D872C #2C8D57
square
#2C328D #8D2C63 #8D872C #2C8D57
split-complementary
#2C328D #8D572C #638D2C
monochromatic
#0F1130 #1D215E #2C328D #3B43BC #656BCF
Accessibility & contrast
On white
10.78
#2C328D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2C328D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C328D
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C328D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C328D | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c328d; /* rgb */ color: rgb(44, 50, 141); /* oklch */ color: oklch(37.3% 0.148 273.8);
Tailwind
colors: {
custom: {
50: '#726aaf',
500: '#2c328d',
950: '#000000',
},
}SCSS
$custom: #2c328d; $custom-light: #726aaf; $custom-dark: #000000;
JSON
{
"hex": "#2c328d",
"rgb": {
"r": 44,
"g": 50,
"b": 141
},
"hsl": {
"h": 236.289,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.37339,
"c": 0.14828,
"h": 273.8
},
"luminance": 0.0474
}Semantic roles & 50–950 ramp
primary
#2C328D
secondary
#B5B060
accent
#D34CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F