#2D2C78#2D2C78
#2D2C78 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.126 H 278.0°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2C78 |
|---|---|
| RGB | rgb(45, 44, 120) |
| HSL | hsl(241, 46%, 32%) |
| HSV | hsv(241, 63%, 47%) |
| CMYK | cmyk(62.5%, 63.3%, 0%, 52.9%) |
| CIE-LAB | lab(22.71, 25.05, -43.44) |
| CIE-LCH | lch(22.71, 50.14, 299.97°) |
| OKLab | oklab(34.39% 0.0176 -0.1249) |
| OKLCH | oklch(34.39% 0.126 278) |
| XYZ | xyz(5.3719, 3.7149, 18.1996) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.35
Darkslateblue
#483D8B
ΔE00 6.18
Blueberry
#464196
ΔE00 7.39
Royal
#0C1793
ΔE00 7.53
Marine
#042E60
ΔE00 8.02
Sapphire (survey)
#2138AB
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2C78 #77782C
analogous
#2C5178 #2D2C78 #532C78
triadic
#2D2C78 #782D2C #2C782D
tetradic
#2D2C78 #782C51 #77782C #2C7853
square
#2D2C78 #782C51 #77782C #2C7853
split-complementary
#2D2C78 #78532C #51782C
monochromatic
#0B0B1E #1C1C4B #2D2C78 #3E3CA5 #5D5BC3
Accessibility & contrast
On white
12.05
#2D2C78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2D2C78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2C78
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2C78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2C78 | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2d2c78; /* rgb */ color: rgb(45, 44, 120); /* oklch */ color: oklch(34.4% 0.126 278.0);
Tailwind
colors: {
custom: {
50: '#6f65a0',
500: '#2d2c78',
950: '#000000',
},
}SCSS
$custom: #2d2c78; $custom-light: #6f65a0; $custom-dark: #000000;
JSON
{
"hex": "#2d2c78",
"rgb": {
"r": 45,
"g": 44,
"b": 120
},
"hsl": {
"h": 240.789,
"s": 46.341,
"l": 32.157
},
"oklch": {
"l": 0.34389,
"c": 0.12614,
"h": 278
},
"luminance": 0.03715
}Semantic roles & 50–950 ramp
primary
#2D2C78
secondary
#A8A957
accent
#D652D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E