#2D3CAC#2D3CAC
#2D3CAC is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.178 H 270.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3CAC |
|---|---|
| RGB | rgb(45, 60, 172) |
| HSL | hsl(233, 59%, 43%) |
| HSV | hsv(233, 74%, 67%) |
| CMYK | cmyk(73.8%, 65.1%, 0%, 32.5%) |
| CIE-LAB | lab(31.27, 33.40, -61.49) |
| CIE-LCH | lch(31.27, 69.98, 298.51°) |
| OKLab | oklab(42.09% 0.0018 -0.1777) |
| OKLCH | oklch(42.09% 0.178 270.6) |
| XYZ | xyz(10.1419, 6.7671, 39.7934) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.40
Blue Blue
#2242C7
ΔE00 3.90
Ocean Blue
#4F42B5
ΔE00 4.86
Blueberry
#464196
ΔE00 5.02
Cobalt
#0047AB
ΔE00 5.60
Blue With A Hint Of Purple
#533CC6
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3CAC #AC9D2D
analogous
#2D7CAC #2D3CAC #5D2DAC
triadic
#2D3CAC #AC2D3C #3CAC2D
tetradic
#2D3CAC #AC2D7C #AC9D2D #2DAC5D
square
#2D3CAC #AC2D7C #AC9D2D #2DAC5D
split-complementary
#2D3CAC #AC5D2D #7CAC2D
monochromatic
#141A4B #202B7B #2D3CAC #4757CF #7884DC
Accessibility & contrast
On white
8.92
#2D3CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2D3CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3CAC
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3CAC | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2d3cac; /* rgb */ color: rgb(45, 60, 172); /* oklch */ color: oklch(42.1% 0.178 270.6);
Tailwind
colors: {
custom: {
50: '#7972c6',
500: '#2d3cac',
950: '#000000',
},
}SCSS
$custom: #2d3cac; $custom-light: #7972c6; $custom-dark: #000000;
JSON
{
"hex": "#2d3cac",
"rgb": {
"r": 45,
"g": 60,
"b": 172
},
"hsl": {
"h": 232.913,
"s": 58.525,
"l": 42.549
},
"oklch": {
"l": 0.42085,
"c": 0.17776,
"h": 270.6
},
"luminance": 0.06768
}Semantic roles & 50–950 ramp
primary
#2D3CAC
secondary
#C4BA71
accent
#CF46E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82