#2D3D7C#2D3D7C
#2D3D7C is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.108 H 269.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3D7C |
|---|---|
| RGB | rgb(45, 61, 124) |
| HSL | hsl(228, 47%, 33%) |
| HSV | hsv(228, 64%, 49%) |
| CMYK | cmyk(63.7%, 50.8%, 0%, 51.4%) |
| CIE-LAB | lab(27.71, 14.88, -37.87) |
| CIE-LCH | lch(27.71, 40.69, 291.45°) |
| OKLab | oklab(38.23% -0.0001 -0.1083) |
| OKLCH | oklch(38.23% 0.108 269.9) |
| XYZ | xyz(6.3878, 5.3501, 19.7609) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 5.48
Darkish Blue
#014182
ΔE00 5.67
Blueberry
#464196
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 6.10
Marine Blue
#01386A
ΔE00 6.23
Twilight Blue
#0A437A
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3D7C #7C6C2D
analogous
#2D647C #2D3D7C #442D7C
triadic
#2D3D7C #7C2D3D #3D7C2D
tetradic
#2D3D7C #7C2D64 #7C6C2D #2D7C44
square
#2D3D7C #7C2D64 #7C6C2D #2D7C44
split-complementary
#2D3D7C #7C442D #647C2D
monochromatic
#0C1122 #1D274F #2D3D7C #3D53A9 #5F73C5
Accessibility & contrast
On white
10.14
#2D3D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2D3D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3D7C
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3D7C | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C457E
Deuteranopia (green-blind)
#0D3E7B
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d3d7c; /* rgb */ color: rgb(45, 61, 124); /* oklch */ color: oklch(38.2% 0.108 269.9);
Tailwind
colors: {
custom: {
50: '#6e72a2',
500: '#2d3d7c',
950: '#000000',
},
}SCSS
$custom: #2d3d7c; $custom-light: #6e72a2; $custom-dark: #000000;
JSON
{
"hex": "#2d3d7c",
"rgb": {
"r": 45,
"g": 61,
"b": 124
},
"hsl": {
"h": 227.848,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.3823,
"c": 0.10835,
"h": 269.9
},
"luminance": 0.05351
}Semantic roles & 50–950 ramp
primary
#2D3D7C
secondary
#AB9B5A
accent
#BB51D6
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#08070F
muted
#7A7A7F