#2D3C7E#2D3C7E
#2D3C7E is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.2% C 0.113 H 270.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3C7E |
|---|---|
| RGB | rgb(45, 60, 126) |
| HSL | hsl(229, 47%, 34%) |
| HSV | hsv(229, 64%, 49%) |
| CMYK | cmyk(64.3%, 52.4%, 0%, 50.6%) |
| CIE-LAB | lab(27.56, 16.32, -39.37) |
| CIE-LCH | lch(27.56, 42.62, 292.51°) |
| OKLab | oklab(38.16% 0.0012 -0.1128) |
| OKLCH | oklch(38.16% 0.113 270.6) |
| XYZ | xyz(6.4627, 5.2954, 20.4162) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 5.67
Darkslateblue
#483D8B
ΔE00 5.74
Blueberry
#464196
ΔE00 5.75
Darkish Blue
#014182
ΔE00 5.91
Marine Blue
#01386A
ΔE00 6.50
Twilight Blue
#0A437A
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3C7E #7E6F2D
analogous
#2D647E #2D3C7E #462D7E
triadic
#2D3C7E #7E2D3C #3C7E2D
tetradic
#2D3C7E #7E2D64 #7E6F2D #2D7E46
square
#2D3C7E #7E2D64 #7E6F2D #2D7E46
split-complementary
#2D3C7E #7E462D #647E2D
monochromatic
#0D1124 #1D2751 #2D3C7E #3D51AB #5F72C6
Accessibility & contrast
On white
10.20
#2D3C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2D3C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3C7E
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3C7E | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174580
Deuteranopia (green-blind)
#033E7D
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d3c7e; /* rgb */ color: rgb(45, 60, 126); /* oklch */ color: oklch(38.2% 0.113 270.6);
Tailwind
colors: {
custom: {
50: '#6f71a4',
500: '#2d3c7e',
950: '#000000',
},
}SCSS
$custom: #2d3c7e; $custom-light: #6f71a4; $custom-dark: #000000;
JSON
{
"hex": "#2d3c7e",
"rgb": {
"r": 45,
"g": 60,
"b": 126
},
"hsl": {
"h": 228.889,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.38162,
"c": 0.11277,
"h": 270.6
},
"luminance": 0.05296
}Semantic roles & 50–950 ramp
primary
#2D3C7E
secondary
#AC9D5A
accent
#BE51D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F