#2C2C99#2C2C99
#2C2C99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.172 H 274.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2C99 |
|---|---|
| RGB | rgb(44, 44, 153) |
| HSL | hsl(240, 55%, 39%) |
| HSV | hsv(240, 71%, 60%) |
| CMYK | cmyk(71.2%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(25.67, 36.61, -59.19) |
| CIE-LCH | lch(25.67, 69.59, 301.74°) |
| OKLab | oklab(37.46% 0.0129 -0.1711) |
| OKLCH | oklch(37.46% 0.172 274.3) |
| XYZ | xyz(7.6872, 4.6360, 30.6205) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.28
Royal
#0C1793
ΔE00 5.17
Indigo Blue
#3A18B1
ΔE00 5.64
Blueberry
#464196
ΔE00 6.57
Cobalt Blue
#030AA7
ΔE00 6.70
Darkslateblue
#483D8B
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2C99 #99992C
analogous
#2C6299 #2C2C99 #622C99
triadic
#2C2C99 #992C2C #2C992C
tetradic
#2C2C99 #992C62 #99992C #2C9962
square
#2C2C99 #992C62 #99992C #2C9962
split-complementary
#2C2C99 #99622C #62992C
monochromatic
#11113A #1E1E69 #2C2C99 #3B3BC7 #6B6BD4
Accessibility & contrast
On white
10.90
#2C2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2C2C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2C99
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2C99 | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c2c99; /* rgb */ color: rgb(44, 44, 153); /* oklch */ color: oklch(37.5% 0.172 274.3);
Tailwind
colors: {
custom: {
50: '#7666b8',
500: '#2c2c99',
950: '#000000',
},
}SCSS
$custom: #2c2c99; $custom-light: #7666b8; $custom-dark: #000000;
JSON
{
"hex": "#2c2c99",
"rgb": {
"r": 44,
"g": 44,
"b": 153
},
"hsl": {
"h": 240,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.3746,
"c": 0.17157,
"h": 274.3
},
"luminance": 0.04637
}Semantic roles & 50–950 ramp
primary
#2C2C99
secondary
#BBBB66
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80