#2D3D7B#2D3D7B
#2D3D7B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.2% C 0.107 H 269.8°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3D7B |
|---|---|
| RGB | rgb(45, 61, 123) |
| HSL | hsl(228, 46%, 33%) |
| HSV | hsv(228, 63%, 48%) |
| CMYK | cmyk(63.4%, 50.4%, 0%, 51.8%) |
| CIE-LAB | lab(27.64, 14.51, -37.35) |
| CIE-LCH | lch(27.64, 40.07, 291.23°) |
| OKLab | oklab(38.16% -0.0003 -0.1068) |
| OKLCH | oklch(38.16% 0.107 269.8) |
| XYZ | xyz(6.3249, 5.3249, 19.4296) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 5.54
Darkish Blue
#014182
ΔE00 5.68
Marine Blue
#01386A
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 6.19
Blueberry
#464196
ΔE00 6.23
Twilight Blue
#0A437A
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3D7B #7B6B2D
analogous
#2D647B #2D3D7B #442D7B
triadic
#2D3D7B #7B2D3D #3D7B2D
tetradic
#2D3D7B #7B2D64 #7B6B2D #2D7B44
square
#2D3D7B #7B2D64 #7B6B2D #2D7B44
split-complementary
#2D3D7B #7B442D #647B2D
monochromatic
#0C1121 #1D274E #2D3D7B #3D53A8 #5E73C4
Accessibility & contrast
On white
10.17
#2D3D7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2D3D7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3D7B
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3D7B | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D457D
Deuteranopia (green-blind)
#0F3E7A
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d3d7b; /* rgb */ color: rgb(45, 61, 123); /* oklch */ color: oklch(38.2% 0.107 269.8);
Tailwind
colors: {
custom: {
50: '#6e72a2',
500: '#2d3d7b',
950: '#000000',
},
}SCSS
$custom: #2d3d7b; $custom-light: #6e72a2; $custom-dark: #000000;
JSON
{
"hex": "#2d3d7b",
"rgb": {
"r": 45,
"g": 61,
"b": 123
},
"hsl": {
"h": 227.692,
"s": 46.429,
"l": 32.941
},
"oklch": {
"l": 0.38156,
"c": 0.10683,
"h": 269.8
},
"luminance": 0.05325
}Semantic roles & 50–950 ramp
primary
#2D3D7B
secondary
#AB9A59
accent
#BB52D6
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#08070F
muted
#7A7A7F