#2D3A7B#2D3A7B
#2D3A7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.5% C 0.111 H 271.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3A7B |
|---|---|
| RGB | rgb(45, 58, 123) |
| HSL | hsl(230, 46%, 33%) |
| HSV | hsv(230, 63%, 48%) |
| CMYK | cmyk(63.4%, 52.8%, 0%, 51.8%) |
| CIE-LAB | lab(26.77, 16.57, -38.75) |
| CIE-LCH | lch(26.77, 42.15, 293.15°) |
| OKLab | oklab(37.5% 0.003 -0.111) |
| OKLCH | oklch(37.5% 0.111 271.6) |
| XYZ | xyz(6.1692, 5.0136, 19.3777) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.70
Blueberry
#464196
ΔE00 6.00
Cobalt (survey)
#1E488F
ΔE00 6.41
Darkish Blue
#014182
ΔE00 6.43
Marine Blue
#01386A
ΔE00 6.61
Marine
#042E60
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3A7B #7B6E2D
analogous
#2D617B #2D3A7B #472D7B
triadic
#2D3A7B #7B2D3A #3A7B2D
tetradic
#2D3A7B #7B2D61 #7B6E2D #2D7B47
square
#2D3A7B #7B2D61 #7B6E2D #2D7B47
split-complementary
#2D3A7B #7B472D #617B2D
monochromatic
#0C1021 #1D254E #2D3A7B #3D4FA8 #5E6FC4
Accessibility & contrast
On white
10.49
#2D3A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2D3A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3A7B
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3A7B | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#033C7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2d3a7b; /* rgb */ color: rgb(45, 58, 123); /* oklch */ color: oklch(37.5% 0.111 271.6);
Tailwind
colors: {
custom: {
50: '#6e6fa2',
500: '#2d3a7b',
950: '#000000',
},
}SCSS
$custom: #2d3a7b; $custom-light: #6e6fa2; $custom-dark: #000000;
JSON
{
"hex": "#2d3a7b",
"rgb": {
"r": 45,
"g": 58,
"b": 123
},
"hsl": {
"h": 230,
"s": 46.429,
"l": 32.941
},
"oklch": {
"l": 0.37498,
"c": 0.11101,
"h": 271.6
},
"luminance": 0.05014
}Semantic roles & 50–950 ramp
primary
#2D3A7B
secondary
#AB9D59
accent
#C052D6
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#08070F
muted
#7A7A7F