#2D337D#2D337D
#2D337D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.124 H 274.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2D337D |
|---|---|
| RGB | rgb(45, 51, 125) |
| HSL | hsl(236, 47%, 33%) |
| HSV | hsv(236, 64%, 49%) |
| CMYK | cmyk(64%, 59.2%, 0%, 51%) |
| CIE-LAB | lab(24.97, 22.12, -42.93) |
| CIE-LCH | lch(24.97, 48.29, 297.26°) |
| OKLab | oklab(36.19% 0.0105 -0.1233) |
| OKLCH | oklch(36.19% 0.124 274.9) |
| XYZ | xyz(5.9665, 4.4057, 19.9340) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.22
Blueberry
#464196
ΔE00 5.97
Sapphire (survey)
#2138AB
ΔE00 7.07
Marine
#042E60
ΔE00 7.28
Midnight Blue
#191970
ΔE00 7.38
Marine Blue
#01386A
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D337D #7D772D
analogous
#2D5B7D #2D337D #4F2D7D
triadic
#2D337D #7D2D33 #337D2D
tetradic
#2D337D #7D2D5B #7D772D #2D7D4F
square
#2D337D #7D2D5B #7D772D #2D7D4F
split-complementary
#2D337D #7D4F2D #5B7D2D
monochromatic
#0D0E23 #1D2150 #2D337D #3D45AA #5F67C5
Accessibility & contrast
On white
11.16
#2D337D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2D337D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D337D
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D337D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D337D | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2d337d; /* rgb */ color: rgb(45, 51, 125); /* oklch */ color: oklch(36.2% 0.124 274.9);
Tailwind
colors: {
custom: {
50: '#6f6aa3',
500: '#2d337d',
950: '#000000',
},
}SCSS
$custom: #2d337d; $custom-light: #6f6aa3; $custom-dark: #000000;
JSON
{
"hex": "#2d337d",
"rgb": {
"r": 45,
"g": 51,
"b": 125
},
"hsl": {
"h": 235.5,
"s": 47.059,
"l": 33.333
},
"oklch": {
"l": 0.36193,
"c": 0.12379,
"h": 274.9
},
"luminance": 0.04406
}Semantic roles & 50–950 ramp
primary
#2D337D
secondary
#ACA65A
accent
#CD51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F