#2D3CAB#2D3CAB
#2D3CAB is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.176 H 270.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3CAB |
|---|---|
| RGB | rgb(45, 60, 171) |
| HSL | hsl(233, 58%, 42%) |
| HSV | hsv(233, 74%, 67%) |
| CMYK | cmyk(73.7%, 64.9%, 0%, 32.9%) |
| CIE-LAB | lab(31.18, 33.04, -61.04) |
| CIE-LCH | lch(31.18, 69.41, 298.42°) |
| OKLab | oklab(41.99% 0.0019 -0.1764) |
| OKLCH | oklch(41.99% 0.176 270.6) |
| XYZ | xyz(10.0462, 6.7288, 39.2895) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.38
Blue Blue
#2242C7
ΔE00 4.02
Ocean Blue
#4F42B5
ΔE00 4.92
Blueberry
#464196
ΔE00 4.94
Cobalt
#0047AB
ΔE00 5.57
Blue With A Hint Of Purple
#533CC6
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3CAB #AB9C2D
analogous
#2D7BAB #2D3CAB #5D2DAB
triadic
#2D3CAB #AB2D3C #3CAB2D
tetradic
#2D3CAB #AB2D7B #AB9C2D #2DAB5D
square
#2D3CAB #AB2D7B #AB9C2D #2DAB5D
split-complementary
#2D3CAB #AB5D2D #7BAB2D
monochromatic
#141A4A #202B7B #2D3CAB #4757CE #7783DB
Accessibility & contrast
On white
8.95
#2D3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2D3CAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3CAB
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3CAB | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2d3cab; /* rgb */ color: rgb(45, 60, 171); /* oklch */ color: oklch(42.0% 0.176 270.6);
Tailwind
colors: {
custom: {
50: '#7971c5',
500: '#2d3cab',
950: '#000000',
},
}SCSS
$custom: #2d3cab; $custom-light: #7971c5; $custom-dark: #000000;
JSON
{
"hex": "#2d3cab",
"rgb": {
"r": 45,
"g": 60,
"b": 171
},
"hsl": {
"h": 232.857,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.41992,
"c": 0.17644,
"h": 270.6
},
"luminance": 0.0673
}Semantic roles & 50–950 ramp
primary
#2D3CAB
secondary
#C3B971
accent
#CF46E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82