#2C2C8F#2C2C8F
#2C2C8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.158 H 275.2°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2C8F |
|---|---|
| RGB | rgb(44, 44, 143) |
| HSL | hsl(240, 53%, 37%) |
| HSV | hsv(240, 69%, 56%) |
| CMYK | cmyk(69.2%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(24.70, 33.10, -54.62) |
| CIE-LCH | lch(24.70, 63.87, 301.22°) |
| OKLab | oklab(36.46% 0.0143 -0.1577) |
| OKLCH | oklch(36.46% 0.158 275.2) |
| XYZ | xyz(6.8957, 4.3194, 26.4516) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.17
Royal
#0C1793
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 6.24
Midnight Blue
#191970
ΔE00 6.43
Blueberry
#464196
ΔE00 6.48
Indigo Blue
#3A18B1
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2C8F #8F8F2C
analogous
#2C5E8F #2C2C8F #5E2C8F
triadic
#2C2C8F #8F2C2C #2C8F2C
tetradic
#2C2C8F #8F2C5E #8F8F2C #2C8F5E
square
#2C2C8F #8F2C5E #8F8F2C #2C8F5E
split-complementary
#2C2C8F #8F5E2C #5E8F2C
monochromatic
#0F0F31 #1E1E60 #2C2C8F #3A3ABE #6666D0
Accessibility & contrast
On white
11.27
#2C2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2C2C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2C8F
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2C8F | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c2c8f; /* rgb */ color: rgb(44, 44, 143); /* oklch */ color: oklch(36.5% 0.158 275.2);
Tailwind
colors: {
custom: {
50: '#7366b1',
500: '#2c2c8f',
950: '#000000',
},
}SCSS
$custom: #2c2c8f; $custom-light: #7366b1; $custom-dark: #000000;
JSON
{
"hex": "#2c2c8f",
"rgb": {
"r": 44,
"g": 44,
"b": 143
},
"hsl": {
"h": 240,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.36464,
"c": 0.15839,
"h": 275.2
},
"luminance": 0.0432
}Semantic roles & 50–950 ramp
primary
#2C2C8F
secondary
#B6B661
accent
#DC4BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80