#2D2C8D#2D2C8D
#2D2C8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.155 H 275.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2C8D |
|---|---|
| RGB | rgb(45, 44, 141) |
| HSL | hsl(241, 52%, 36%) |
| HSV | hsv(241, 69%, 55%) |
| CMYK | cmyk(68.1%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(24.58, 32.53, -53.57) |
| CIE-LCH | lch(24.58, 62.68, 301.27°) |
| OKLab | oklab(36.34% 0.0158 -0.1546) |
| OKLCH | oklch(36.34% 0.155 275.8) |
| XYZ | xyz(6.7890, 4.2817, 25.6628) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.43
Royal
#0C1793
ΔE00 5.44
Darkslateblue
#483D8B
ΔE00 6.09
Midnight Blue
#191970
ΔE00 6.27
Blueberry
#464196
ΔE00 6.45
Indigo Blue
#3A18B1
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2C8D #8C8D2C
analogous
#2C5C8D #2D2C8D #5E2C8D
triadic
#2D2C8D #8D2D2C #2C8D2D
tetradic
#2D2C8D #8D2C5C #8C8D2C #2C8D5E
square
#2D2C8D #8D2C5C #8C8D2C #2C8D5E
split-complementary
#2D2C8D #8D5E2C #5C8D2C
monochromatic
#0F0F30 #1E1D5E #2D2C8D #3C3BBC #6665CF
Accessibility & contrast
On white
11.31
#2D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2D2C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2C8D
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2C8D | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2d2c8d; /* rgb */ color: rgb(45, 44, 141); /* oklch */ color: oklch(36.3% 0.155 275.8);
Tailwind
colors: {
custom: {
50: '#7366af',
500: '#2d2c8d',
950: '#000000',
},
}SCSS
$custom: #2d2c8d; $custom-light: #7366af; $custom-dark: #000000;
JSON
{
"hex": "#2d2c8d",
"rgb": {
"r": 45,
"g": 44,
"b": 141
},
"hsl": {
"h": 240.619,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.36339,
"c": 0.15545,
"h": 275.8
},
"luminance": 0.04282
}Semantic roles & 50–950 ramp
primary
#2D2C8D
secondary
#B4B560
accent
#DC4CDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F