#2D326F#2D326F
#2D326F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.104 H 276.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2D326F |
|---|---|
| RGB | rgb(45, 50, 111) |
| HSL | hsl(235, 42%, 31%) |
| HSV | hsv(235, 59%, 44%) |
| CMYK | cmyk(59.5%, 55%, 0%, 56.5%) |
| CIE-LAB | lab(23.63, 17.67, -36.19) |
| CIE-LCH | lch(23.63, 40.28, 296.03°) |
| OKLab | oklab(34.85% 0.011 -0.1035) |
| OKLCH | oklch(34.85% 0.104 276) |
| XYZ | xyz(5.0911, 3.9864, 15.5370) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.47
Navy Blue
#1B2A4A
ΔE00 7.55
Blueberry
#464196
ΔE00 7.70
Midnight Blue
#191970
ΔE00 7.78
Marine Blue
#01386A
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D326F #6F6A2D
analogous
#2D536F #2D326F #492D6F
triadic
#2D326F #6F2D32 #326F2D
tetradic
#2D326F #6F2D53 #6F6A2D #2D6F49
square
#2D326F #6F2D53 #6F6A2D #2D6F49
split-complementary
#2D326F #6F492D #536F2D
monochromatic
#0A0B18 #1B1E43 #2D326F #3F469B #5A62BC
Accessibility & contrast
On white
11.68
#2D326F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2D326F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D326F
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D326F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D326F | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#03366E
Tritanopia (blue-blind)
#07404B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2d326f; /* rgb */ color: rgb(45, 50, 111); /* oklch */ color: oklch(34.8% 0.104 276.0);
Tailwind
colors: {
custom: {
50: '#6c6999',
500: '#2d326f',
950: '#000000',
},
}SCSS
$custom: #2d326f; $custom-light: #6c6999; $custom-dark: #000000;
JSON
{
"hex": "#2d326f",
"rgb": {
"r": 45,
"g": 50,
"b": 111
},
"hsl": {
"h": 235.455,
"s": 42.308,
"l": 30.588
},
"oklch": {
"l": 0.3485,
"c": 0.10411,
"h": 276
},
"luminance": 0.03987
}Semantic roles & 50–950 ramp
primary
#2D326F
secondary
#A19B57
accent
#C956D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E