#2C2C90#2C2C90
#2C2C90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.160 H 275.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2C90 |
|---|---|
| RGB | rgb(44, 44, 144) |
| HSL | hsl(240, 53%, 37%) |
| HSV | hsv(240, 69%, 56%) |
| CMYK | cmyk(69.4%, 69.4%, 0%, 43.5%) |
| CIE-LAB | lab(24.80, 33.46, -55.08) |
| CIE-LCH | lch(24.80, 64.45, 301.27°) |
| OKLab | oklab(36.56% 0.0142 -0.1591) |
| OKLCH | oklch(36.56% 0.16 275.1) |
| XYZ | xyz(6.9718, 4.3498, 26.8523) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.07
Royal
#0C1793
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 6.27
Blueberry
#464196
ΔE00 6.48
Midnight Blue
#191970
ΔE00 6.53
Indigo Blue
#3A18B1
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2C90 #90902C
analogous
#2C5E90 #2C2C90 #5E2C90
triadic
#2C2C90 #902C2C #2C902C
tetradic
#2C2C90 #902C5E #90902C #2C905E
square
#2C2C90 #902C5E #90902C #2C905E
split-complementary
#2C2C90 #905E2C #5E902C
monochromatic
#0F0F32 #1E1E61 #2C2C90 #3A3ABF #6666D0
Accessibility & contrast
On white
11.23
#2C2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2C2C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2C90
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2C90 | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c2c90; /* rgb */ color: rgb(44, 44, 144); /* oklch */ color: oklch(36.6% 0.160 275.1);
Tailwind
colors: {
custom: {
50: '#7366b1',
500: '#2c2c90',
950: '#000000',
},
}SCSS
$custom: #2c2c90; $custom-light: #7366b1; $custom-dark: #000000;
JSON
{
"hex": "#2c2c90",
"rgb": {
"r": 44,
"g": 44,
"b": 144
},
"hsl": {
"h": 240,
"s": 53.191,
"l": 36.863
},
"oklch": {
"l": 0.36562,
"c": 0.15972,
"h": 275.1
},
"luminance": 0.0435
}Semantic roles & 50–950 ramp
primary
#2C2C90
secondary
#B7B761
accent
#DD4BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80