#2D3A7C#2D3A7C
#2D3A7C is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.6% C 0.113 H 271.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3A7C |
|---|---|
| RGB | rgb(45, 58, 124) |
| HSL | hsl(230, 47%, 33%) |
| HSV | hsv(230, 64%, 49%) |
| CMYK | cmyk(63.7%, 53.2%, 0%, 51.4%) |
| CIE-LAB | lab(26.84, 16.95, -39.27) |
| CIE-LCH | lch(26.84, 42.77, 293.34°) |
| OKLab | oklab(37.57% 0.0031 -0.1125) |
| OKLCH | oklch(37.57% 0.113 271.6) |
| XYZ | xyz(6.2321, 5.0387, 19.7090) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.61
Blueberry
#464196
ΔE00 5.87
Cobalt (survey)
#1E488F
ΔE00 6.36
Darkish Blue
#014182
ΔE00 6.42
Marine Blue
#01386A
ΔE00 6.67
Marine
#042E60
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3A7C #7C6F2D
analogous
#2D617C #2D3A7C #472D7C
triadic
#2D3A7C #7C2D3A #3A7C2D
tetradic
#2D3A7C #7C2D61 #7C6F2D #2D7C47
square
#2D3A7C #7C2D61 #7C6F2D #2D7C47
split-complementary
#2D3A7C #7C472D #617C2D
monochromatic
#0C1022 #1D254F #2D3A7C #3D4FA9 #5F6FC5
Accessibility & contrast
On white
10.46
#2D3A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2D3A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3A7C
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3A7C | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14437E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2d3a7c; /* rgb */ color: rgb(45, 58, 124); /* oklch */ color: oklch(37.6% 0.113 271.6);
Tailwind
colors: {
custom: {
50: '#6e6fa2',
500: '#2d3a7c',
950: '#000000',
},
}SCSS
$custom: #2d3a7c; $custom-light: #6e6fa2; $custom-dark: #000000;
JSON
{
"hex": "#2d3a7c",
"rgb": {
"r": 45,
"g": 58,
"b": 124
},
"hsl": {
"h": 230.127,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.37575,
"c": 0.11252,
"h": 271.6
},
"luminance": 0.05039
}Semantic roles & 50–950 ramp
primary
#2D3A7C
secondary
#AB9E5A
accent
#C151D6
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#08070F
muted
#7B7A7F