#2D3CAD#2D3CAD
#2D3CAD is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.179 H 270.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3CAD |
|---|---|
| RGB | rgb(45, 60, 173) |
| HSL | hsl(233, 59%, 43%) |
| HSV | hsv(233, 74%, 68%) |
| CMYK | cmyk(74%, 65.3%, 0%, 32.2%) |
| CIE-LAB | lab(31.36, 33.76, -61.94) |
| CIE-LCH | lch(31.36, 70.55, 298.59°) |
| OKLab | oklab(42.18% 0.0018 -0.1791) |
| OKLCH | oklch(42.18% 0.179 270.6) |
| XYZ | xyz(10.2383, 6.8057, 40.3011) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.43
Blue Blue
#2242C7
ΔE00 3.78
Ocean Blue
#4F42B5
ΔE00 4.79
Blueberry
#464196
ΔE00 5.10
Cobalt
#0047AB
ΔE00 5.64
Blue With A Hint Of Purple
#533CC6
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3CAD #AD9E2D
analogous
#2D7CAD #2D3CAD #5E2DAD
triadic
#2D3CAD #AD2D3C #3CAD2D
tetradic
#2D3CAD #AD2D7C #AD9E2D #2DAD5E
square
#2D3CAD #AD2D7C #AD9E2D #2DAD5E
split-complementary
#2D3CAD #AD5E2D #7CAD2D
monochromatic
#141A4C #202B7C #2D3CAD #4858CF #7884DC
Accessibility & contrast
On white
8.89
#2D3CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2D3CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3CAD
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3CAD | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2d3cad; /* rgb */ color: rgb(45, 60, 173); /* oklch */ color: oklch(42.2% 0.179 270.6);
Tailwind
colors: {
custom: {
50: '#7972c6',
500: '#2d3cad',
950: '#000000',
},
}SCSS
$custom: #2d3cad; $custom-light: #7972c6; $custom-dark: #000000;
JSON
{
"hex": "#2d3cad",
"rgb": {
"r": 45,
"g": 60,
"b": 173
},
"hsl": {
"h": 232.969,
"s": 58.716,
"l": 42.745
},
"oklch": {
"l": 0.42178,
"c": 0.17908,
"h": 270.6
},
"luminance": 0.06807
}Semantic roles & 50–950 ramp
primary
#2D3CAD
secondary
#C4BA72
accent
#D046E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82