#2C328B#2C328B
#2C328B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.145 H 273.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2C328B |
|---|---|
| RGB | rgb(44, 50, 139) |
| HSL | hsl(236, 52%, 36%) |
| HSV | hsv(236, 68%, 55%) |
| CMYK | cmyk(68.3%, 64%, 0%, 45.5%) |
| CIE-LAB | lab(25.80, 27.77, -50.34) |
| CIE-LCH | lch(25.80, 57.49, 298.88°) |
| OKLab | oklab(37.16% 0.01 -0.1451) |
| OKLCH | oklch(37.16% 0.145 273.9) |
| XYZ | xyz(6.8380, 4.6801, 24.9641) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.89
Darkslateblue
#483D8B
ΔE00 5.22
Blueberry
#464196
ΔE00 5.34
Royal
#0C1793
ΔE00 7.20
Midnight Blue
#191970
ΔE00 7.41
Ocean Blue
#4F42B5
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C328B #8B852C
analogous
#2C618B #2C328B #552C8B
triadic
#2C328B #8B2C32 #328B2C
tetradic
#2C328B #8B2C61 #8B852C #2C8B55
square
#2C328B #8B2C61 #8B852C #2C8B55
split-complementary
#2C328B #8B552C #618B2C
monochromatic
#0F112E #1D215D #2C328B #3B43B9 #646ACE
Accessibility & contrast
On white
10.85
#2C328B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2C328B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C328B
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C328B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C328B | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c328b; /* rgb */ color: rgb(44, 50, 139); /* oklch */ color: oklch(37.2% 0.145 273.9);
Tailwind
colors: {
custom: {
50: '#726aae',
500: '#2c328b',
950: '#000000',
},
}SCSS
$custom: #2c328b; $custom-light: #726aae; $custom-dark: #000000;
JSON
{
"hex": "#2c328b",
"rgb": {
"r": 44,
"g": 50,
"b": 139
},
"hsl": {
"h": 236.211,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.37156,
"c": 0.14549,
"h": 273.9
},
"luminance": 0.04681
}Semantic roles & 50–950 ramp
primary
#2C328B
secondary
#B4AF5F
accent
#D24CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F