#2D2C72#2D2C72
#2D2C72 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.117 H 278.7°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2C72 |
|---|---|
| RGB | rgb(45, 44, 114) |
| HSL | hsl(241, 44%, 31%) |
| HSV | hsv(241, 61%, 45%) |
| CMYK | cmyk(60.5%, 61.4%, 0%, 55.3%) |
| CIE-LAB | lab(22.21, 22.89, -40.41) |
| CIE-LCH | lch(22.21, 46.44, 299.53°) |
| OKLab | oklab(33.87% 0.0178 -0.116) |
| OKLCH | oklch(33.87% 0.117 278.7) |
| XYZ | xyz(5.0192, 3.5738, 16.3417) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.61
Darkslateblue
#483D8B
ΔE00 6.55
Marine
#042E60
ΔE00 7.61
Blueberry
#464196
ΔE00 7.94
Royal
#0C1793
ΔE00 8.43
Navy Blue
#1B2A4A
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2C72 #71722C
analogous
#2C4E72 #2D2C72 #502C72
triadic
#2D2C72 #722D2C #2C722D
tetradic
#2D2C72 #722C4E #71722C #2C7250
square
#2D2C72 #722C4E #71722C #2C7250
split-complementary
#2D2C72 #72502C #4E722C
monochromatic
#0A0A1A #1C1B46 #2D2C72 #3E3D9E #5B59BF
Accessibility & contrast
On white
12.25
#2D2C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2D2C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2C72
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2C72 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#033D4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2d2c72; /* rgb */ color: rgb(45, 44, 114); /* oklch */ color: oklch(33.9% 0.117 278.7);
Tailwind
colors: {
custom: {
50: '#6d659b',
500: '#2d2c72',
950: '#000000',
},
}SCSS
$custom: #2d2c72; $custom-light: #6d659b; $custom-dark: #000000;
JSON
{
"hex": "#2d2c72",
"rgb": {
"r": 45,
"g": 44,
"b": 114
},
"hsl": {
"h": 240.857,
"s": 44.304,
"l": 30.98
},
"oklch": {
"l": 0.33867,
"c": 0.11736,
"h": 278.7
},
"luminance": 0.03574
}Semantic roles & 50–950 ramp
primary
#2D2C72
secondary
#A3A456
accent
#D454D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E