#2D337F#2D337F
#2D337F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.127 H 274.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2D337F |
|---|---|
| RGB | rgb(45, 51, 127) |
| HSL | hsl(236, 48%, 34%) |
| HSV | hsv(236, 65%, 50%) |
| CMYK | cmyk(64.6%, 59.8%, 0%, 50.2%) |
| CIE-LAB | lab(25.13, 22.86, -43.93) |
| CIE-LCH | lch(25.13, 49.52, 297.49°) |
| OKLab | oklab(36.36% 0.0105 -0.1263) |
| OKLCH | oklch(36.36% 0.127 274.8) |
| XYZ | xyz(6.0955, 4.4573, 20.6137) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.12
Blueberry
#464196
ΔE00 5.79
Sapphire (survey)
#2138AB
ΔE00 6.73
Midnight Blue
#191970
ΔE00 7.37
Marine
#042E60
ΔE00 7.49
Marine Blue
#01386A
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D337F #7F792D
analogous
#2D5C7F #2D337F #502D7F
triadic
#2D337F #7F2D33 #337F2D
tetradic
#2D337F #7F2D5C #7F792D #2D7F50
square
#2D337F #7F2D5C #7F792D #2D7F50
split-complementary
#2D337F #7F502D #5C7F2D
monochromatic
#0D0F25 #1D2152 #2D337F #3D45AC #6067C7
Accessibility & contrast
On white
11.10
#2D337F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2D337F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D337F
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D337F | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2d337f; /* rgb */ color: rgb(45, 51, 127); /* oklch */ color: oklch(36.4% 0.127 274.8);
Tailwind
colors: {
custom: {
50: '#706aa5',
500: '#2d337f',
950: '#000000',
},
}SCSS
$custom: #2d337f; $custom-light: #706aa5; $custom-dark: #000000;
JSON
{
"hex": "#2d337f",
"rgb": {
"r": 45,
"g": 51,
"b": 127
},
"hsl": {
"h": 235.61,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.36362,
"c": 0.12673,
"h": 274.8
},
"luminance": 0.04458
}Semantic roles & 50–950 ramp
primary
#2D337F
secondary
#ADA75B
accent
#CD51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F