#2D328C#2D328C
#2D328C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.147 H 274.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2D328C |
|---|---|
| RGB | rgb(45, 50, 140) |
| HSL | hsl(237, 51%, 36%) |
| HSV | hsv(237, 68%, 55%) |
| CMYK | cmyk(67.9%, 64.3%, 0%, 45.1%) |
| CIE-LAB | lab(25.96, 28.28, -50.70) |
| CIE-LCH | lch(25.96, 58.06, 299.15°) |
| OKLab | oklab(37.31% 0.0111 -0.1462) |
| OKLCH | oklch(37.31% 0.147 274.3) |
| XYZ | xyz(6.9548, 4.7319, 25.3527) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.79
Darkslateblue
#483D8B
ΔE00 5.13
Blueberry
#464196
ΔE00 5.23
Royal
#0C1793
ΔE00 7.15
Midnight Blue
#191970
ΔE00 7.46
Ocean Blue
#4F42B5
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D328C #8C872D
analogous
#2D628C #2D328C #582D8C
triadic
#2D328C #8C2D32 #328C2D
tetradic
#2D328C #8C2D62 #8C872D #2D8C58
square
#2D328C #8C2D62 #8C872D #2D8C58
split-complementary
#2D328C #8C582D #628C2D
monochromatic
#0F112F #1E215E #2D328C #3C43BA #666BCE
Accessibility & contrast
On white
10.79
#2D328C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2D328C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D328C
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D328C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D328C | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d328c; /* rgb */ color: rgb(45, 50, 140); /* oklch */ color: oklch(37.3% 0.147 274.3);
Tailwind
colors: {
custom: {
50: '#726aae',
500: '#2d328c',
950: '#000000',
},
}SCSS
$custom: #2d328c; $custom-light: #726aae; $custom-dark: #000000;
JSON
{
"hex": "#2d328c",
"rgb": {
"r": 45,
"g": 50,
"b": 140
},
"hsl": {
"h": 236.842,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.37314,
"c": 0.14662,
"h": 274.3
},
"luminance": 0.04733
}Semantic roles & 50–950 ramp
primary
#2D328C
secondary
#B4B060
accent
#D34DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F