#2D3C8D#2D3C8D
#2D3C8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.135 H 271.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3C8D |
|---|---|
| RGB | rgb(45, 60, 141) |
| HSL | hsl(231, 52%, 36%) |
| HSV | hsv(231, 68%, 55%) |
| CMYK | cmyk(68.1%, 57.4%, 0%, 44.7%) |
| CIE-LAB | lab(28.67, 21.94, -46.90) |
| CIE-LCH | lch(28.67, 51.78, 295.07°) |
| OKLab | oklab(39.35% 0.0023 -0.1349) |
| OKLCH | oklch(39.35% 0.135 271) |
| XYZ | xyz(7.5041, 5.7120, 25.9012) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.32
Sapphire (survey)
#2138AB
ΔE00 4.83
Darkslateblue
#483D8B
ΔE00 5.08
Cobalt (survey)
#1E488F
ΔE00 5.54
Cobalt
#0047AB
ΔE00 6.27
Darkish Blue
#014182
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3C8D #8D7E2D
analogous
#2D6C8D #2D3C8D #4E2D8D
triadic
#2D3C8D #8D2D3C #3C8D2D
tetradic
#2D3C8D #8D2D6C #8D7E2D #2D8D4E
square
#2D3C8D #8D2D6C #8D7E2D #2D8D4E
split-complementary
#2D3C8D #8D4E2D #6C8D2D
monochromatic
#0F1530 #1E285F #2D3C8D #3C50BB #6676CE
Accessibility & contrast
On white
9.80
#2D3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2D3C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3C8D
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3C8D | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2d3c8d; /* rgb */ color: rgb(45, 60, 141); /* oklch */ color: oklch(39.4% 0.135 271.0);
Tailwind
colors: {
custom: {
50: '#7271af',
500: '#2d3c8d',
950: '#000000',
},
}SCSS
$custom: #2d3c8d; $custom-light: #7271af; $custom-dark: #000000;
JSON
{
"hex": "#2d3c8d",
"rgb": {
"r": 45,
"g": 60,
"b": 141
},
"hsl": {
"h": 230.625,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.39354,
"c": 0.13494,
"h": 271
},
"luminance": 0.05713
}Semantic roles & 50–950 ramp
primary
#2D3C8D
secondary
#B5A861
accent
#C54DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F