#2D3D9F#2D3D9F
#2D3D9F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.159 H 270.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3D9F |
|---|---|
| RGB | rgb(45, 61, 159) |
| HSL | hsl(232, 56%, 40%) |
| HSV | hsv(232, 72%, 62%) |
| CMYK | cmyk(71.7%, 61.6%, 0%, 37.6%) |
| CIE-LAB | lab(30.39, 27.98, -55.10) |
| CIE-LCH | lch(30.39, 61.80, 296.92°) |
| OKLab | oklab(41.09% 0.0016 -0.159) |
| OKLCH | oklch(41.09% 0.159 270.6) |
| XYZ | xyz(9.0068, 6.3977, 33.5544) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.42
Blueberry
#464196
ΔE00 4.16
Cobalt
#0047AB
ΔE00 5.18
Blue Blue
#2242C7
ΔE00 5.50
Darkslateblue
#483D8B
ΔE00 5.79
Ocean Blue
#4F42B5
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3D9F #9F8F2D
analogous
#2D769F #2D3D9F #562D9F
triadic
#2D3D9F #9F2D3D #3D9F2D
tetradic
#2D3D9F #9F2D76 #9F8F2D #2D9F56
square
#2D3D9F #9F2D76 #9F8F2D #2D9F56
split-complementary
#2D3D9F #9F562D #769F2D
monochromatic
#121840 #202B6F #2D3D9F #4053C9 #707ED6
Accessibility & contrast
On white
9.21
#2D3D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2D3D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3D9F
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3D9F | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d3d9f; /* rgb */ color: rgb(45, 61, 159); /* oklch */ color: oklch(41.1% 0.159 270.6);
Tailwind
colors: {
custom: {
50: '#7672bc',
500: '#2d3d9f',
950: '#000000',
},
}SCSS
$custom: #2d3d9f; $custom-light: #7672bc; $custom-dark: #000000;
JSON
{
"hex": "#2d3d9f",
"rgb": {
"r": 45,
"g": 61,
"b": 159
},
"hsl": {
"h": 231.579,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.41091,
"c": 0.15902,
"h": 270.6
},
"luminance": 0.06399
}Semantic roles & 50–950 ramp
primary
#2D3D9F
secondary
#BEB26A
accent
#CA49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81