#2D2C7F#2D2C7F
#2D2C7F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.136 H 277.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2C7F |
|---|---|
| RGB | rgb(45, 44, 127) |
| HSL | hsl(241, 49%, 34%) |
| HSV | hsv(241, 65%, 50%) |
| CMYK | cmyk(64.6%, 65.4%, 0%, 50.2%) |
| CIE-LAB | lab(23.31, 27.56, -46.89) |
| CIE-LCH | lch(23.31, 54.39, 300.44°) |
| OKLab | oklab(35.02% 0.0172 -0.135) |
| OKLCH | oklch(35.02% 0.136 277.3) |
| XYZ | xyz(5.8124, 3.8911, 20.5193) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 5.95
Royal
#0C1793
ΔE00 6.63
Blueberry
#464196
ΔE00 6.91
Sapphire (survey)
#2138AB
ΔE00 7.20
Marine
#042E60
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2C7F #7E7F2C
analogous
#2C547F #2D2C7F #562C7F
triadic
#2D2C7F #7F2D2C #2C7F2D
tetradic
#2D2C7F #7F2C54 #7E7F2C #2C7F56
square
#2D2C7F #7F2C54 #7E7F2C #2C7F56
split-complementary
#2D2C7F #7F562C #547F2C
monochromatic
#0D0D24 #1D1C52 #2D2C7F #3D3CAC #5F5EC7
Accessibility & contrast
On white
11.81
#2D2C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2D2C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2C7F
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2C7F | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2d2c7f; /* rgb */ color: rgb(45, 44, 127); /* oklch */ color: oklch(35.0% 0.136 277.3);
Tailwind
colors: {
custom: {
50: '#7065a5',
500: '#2d2c7f',
950: '#000000',
},
}SCSS
$custom: #2d2c7f; $custom-light: #7065a5; $custom-dark: #000000;
JSON
{
"hex": "#2d2c7f",
"rgb": {
"r": 45,
"g": 44,
"b": 127
},
"hsl": {
"h": 240.723,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.35019,
"c": 0.13614,
"h": 277.3
},
"luminance": 0.03892
}Semantic roles & 50–950 ramp
primary
#2D2C7F
secondary
#ACAD59
accent
#D850D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F