#2D327F#2D327F
#2D327F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.128 H 275.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2D327F |
|---|---|
| RGB | rgb(45, 50, 127) |
| HSL | hsl(236, 48%, 34%) |
| HSV | hsv(236, 65%, 50%) |
| CMYK | cmyk(64.6%, 60.6%, 0%, 50.2%) |
| CIE-LAB | lab(24.86, 23.54, -44.36) |
| CIE-LCH | lch(24.86, 50.22, 297.95°) |
| OKLab | oklab(36.16% 0.0115 -0.1276) |
| OKLCH | oklch(36.16% 0.128 275.2) |
| XYZ | xyz(6.0523, 4.3709, 20.5993) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.19
Blueberry
#464196
ΔE00 5.91
Sapphire (survey)
#2138AB
ΔE00 6.76
Midnight Blue
#191970
ΔE00 7.06
Marine
#042E60
ΔE00 7.62
Royal
#0C1793
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D327F #7F7A2D
analogous
#2D5B7F #2D327F #512D7F
triadic
#2D327F #7F2D32 #327F2D
tetradic
#2D327F #7F2D5B #7F7A2D #2D7F51
square
#2D327F #7F2D5B #7F7A2D #2D7F51
split-complementary
#2D327F #7F512D #5B7F2D
monochromatic
#0D0E25 #1D2052 #2D327F #3D44AC #6066C7
Accessibility & contrast
On white
11.20
#2D327F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2D327F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D327F
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D327F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D327F | 1.00 | 11.20 | 1.87 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2d327f; /* rgb */ color: rgb(45, 50, 127); /* oklch */ color: oklch(36.2% 0.128 275.2);
Tailwind
colors: {
custom: {
50: '#7069a5',
500: '#2d327f',
950: '#000000',
},
}SCSS
$custom: #2d327f; $custom-light: #7069a5; $custom-dark: #000000;
JSON
{
"hex": "#2d327f",
"rgb": {
"r": 45,
"g": 50,
"b": 127
},
"hsl": {
"h": 236.341,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.36163,
"c": 0.1281,
"h": 275.2
},
"luminance": 0.04371
}Semantic roles & 50–950 ramp
primary
#2D327F
secondary
#ADA85B
accent
#CF51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F