#2C2C8D#2C2C8D
#2C2C8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.156 H 275.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2C8D |
|---|---|
| RGB | rgb(44, 44, 141) |
| HSL | hsl(240, 52%, 36%) |
| HSV | hsv(240, 69%, 55%) |
| CMYK | cmyk(68.8%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(24.51, 32.40, -53.69) |
| CIE-LCH | lch(24.51, 62.71, 301.11°) |
| OKLab | oklab(36.27% 0.0145 -0.155) |
| OKLCH | oklch(36.27% 0.156 275.4) |
| XYZ | xyz(6.7455, 4.2593, 25.6608) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.39
Royal
#0C1793
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 6.17
Midnight Blue
#191970
ΔE00 6.25
Blueberry
#464196
ΔE00 6.50
Indigo Blue
#3A18B1
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2C8D #8D8D2C
analogous
#2C5D8D #2C2C8D #5D2C8D
triadic
#2C2C8D #8D2C2C #2C8D2C
tetradic
#2C2C8D #8D2C5D #8D8D2C #2C8D5D
square
#2C2C8D #8D2C5D #8D8D2C #2C8D5D
split-complementary
#2C2C8D #8D5D2C #5D8D2C
monochromatic
#0F0F30 #1D1D5E #2C2C8D #3B3BBC #6565CF
Accessibility & contrast
On white
11.34
#2C2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2C2C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2C8D
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2C8D | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 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: #2c2c8d; /* rgb */ color: rgb(44, 44, 141); /* oklch */ color: oklch(36.3% 0.156 275.4);
Tailwind
colors: {
custom: {
50: '#7366af',
500: '#2c2c8d',
950: '#000000',
},
}SCSS
$custom: #2c2c8d; $custom-light: #7366af; $custom-dark: #000000;
JSON
{
"hex": "#2c2c8d",
"rgb": {
"r": 44,
"g": 44,
"b": 141
},
"hsl": {
"h": 240,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.36269,
"c": 0.1557,
"h": 275.4
},
"luminance": 0.0426
}Semantic roles & 50–950 ramp
primary
#2C2C8D
secondary
#B5B560
accent
#DC4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F