#2D2C98#2D2C98
#2D2C98 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.170 H 274.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2C98 |
|---|---|
| RGB | rgb(45, 44, 152) |
| HSL | hsl(241, 55%, 38%) |
| HSV | hsv(241, 71%, 60%) |
| CMYK | cmyk(70.4%, 71.1%, 0%, 40.4%) |
| CIE-LAB | lab(25.64, 36.38, -58.62) |
| CIE-LCH | lch(25.64, 68.99, 301.82°) |
| OKLab | oklab(37.43% 0.0143 -0.1694) |
| OKLCH | oklch(37.43% 0.17 274.8) |
| XYZ | xyz(7.6485, 4.6255, 30.1894) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.40
Royal
#0C1793
ΔE00 5.19
Indigo Blue
#3A18B1
ΔE00 5.69
Blueberry
#464196
ΔE00 6.51
Darkslateblue
#483D8B
ΔE00 6.60
Cobalt Blue
#030AA7
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2C98 #97982C
analogous
#2C6198 #2D2C98 #632C98
triadic
#2D2C98 #982D2C #2C982D
tetradic
#2D2C98 #982C61 #97982C #2C9863
square
#2D2C98 #982C61 #97982C #2C9863
split-complementary
#2D2C98 #98632C #61982C
monochromatic
#111139 #1F1E69 #2D2C98 #3C3BC6 #6B6AD4
Accessibility & contrast
On white
10.91
#2D2C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2D2C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2C98
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2C98 | 1.00 | 10.91 | 1.93 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d2c98; /* rgb */ color: rgb(45, 44, 152); /* oklch */ color: oklch(37.4% 0.170 274.8);
Tailwind
colors: {
custom: {
50: '#7666b7',
500: '#2d2c98',
950: '#000000',
},
}SCSS
$custom: #2d2c98; $custom-light: #7666b7; $custom-dark: #000000;
JSON
{
"hex": "#2d2c98",
"rgb": {
"r": 45,
"g": 44,
"b": 152
},
"hsl": {
"h": 240.556,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.37425,
"c": 0.17001,
"h": 274.8
},
"luminance": 0.04626
}Semantic roles & 50–950 ramp
primary
#2D2C98
secondary
#BABB65
accent
#DE49DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80