#2D337C#2D337C
#2D337C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.122 H 274.9°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2D337C |
|---|---|
| RGB | rgb(45, 51, 124) |
| HSL | hsl(235, 47%, 33%) |
| HSV | hsv(235, 64%, 49%) |
| CMYK | cmyk(63.7%, 58.9%, 0%, 51.4%) |
| CIE-LAB | lab(24.89, 21.75, -42.42) |
| CIE-LCH | lch(24.89, 47.68, 297.15°) |
| OKLab | oklab(36.11% 0.0105 -0.1219) |
| OKLCH | oklch(36.11% 0.122 274.9) |
| XYZ | xyz(5.9029, 4.3803, 19.5993) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.28
Blueberry
#464196
ΔE00 6.07
Marine
#042E60
ΔE00 7.19
Sapphire (survey)
#2138AB
ΔE00 7.23
Midnight Blue
#191970
ΔE00 7.40
Marine Blue
#01386A
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D337C #7C762D
analogous
#2D5A7C #2D337C #4E2D7C
triadic
#2D337C #7C2D33 #337C2D
tetradic
#2D337C #7C2D5A #7C762D #2D7C4E
square
#2D337C #7C2D5A #7C762D #2D7C4E
split-complementary
#2D337C #7C4E2D #5A7C2D
monochromatic
#0C0E22 #1D214F #2D337C #3D45A9 #5F66C5
Accessibility & contrast
On white
11.19
#2D337C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2D337C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D337C
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D337C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D337C | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2d337c; /* rgb */ color: rgb(45, 51, 124); /* oklch */ color: oklch(36.1% 0.122 274.9);
Tailwind
colors: {
custom: {
50: '#6f6aa2',
500: '#2d337c',
950: '#000000',
},
}SCSS
$custom: #2d337c; $custom-light: #6f6aa2; $custom-dark: #000000;
JSON
{
"hex": "#2d337c",
"rgb": {
"r": 45,
"g": 51,
"b": 124
},
"hsl": {
"h": 235.443,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.36109,
"c": 0.12231,
"h": 274.9
},
"luminance": 0.04381
}Semantic roles & 50–950 ramp
primary
#2D337C
secondary
#ABA55A
accent
#CC51D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F