#2C2CAA#2C2CAA
#2C2CAA is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.193 H 273.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2CAA |
|---|---|
| RGB | rgb(44, 44, 170) |
| HSL | hsl(240, 59%, 42%) |
| HSV | hsv(240, 74%, 67%) |
| CMYK | cmyk(74.1%, 74.1%, 0%, 33.3%) |
| CIE-LAB | lab(27.40, 42.43, -66.65) |
| CIE-LCH | lch(27.40, 79.01, 302.48°) |
| OKLab | oklab(39.22% 0.0101 -0.1929) |
| OKLCH | oklch(39.22% 0.193 273) |
| XYZ | xyz(9.1927, 5.2382, 38.5490) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.70
Indigo Blue
#3A18B1
ΔE00 4.32
True Blue
#010FCC
ΔE00 5.88
Royal
#0C1793
ΔE00 5.96
Cobalt Blue
#030AA7
ΔE00 6.34
Ultramarine
#2000B1
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2CAA #AAAA2C
analogous
#2C6BAA #2C2CAA #6B2CAA
triadic
#2C2CAA #AA2C2C #2CAA2C
tetradic
#2C2CAA #AA2C6B #AAAA2C #2CAA6B
square
#2C2CAA #AA2C6B #AAAA2C #2CAA6B
split-complementary
#2C2CAA #AA6B2C #6BAA2C
monochromatic
#131349 #1F1F79 #2C2CAA #4444CF #7575DB
Accessibility & contrast
On white
10.25
#2C2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2C2CAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2CAA
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2CAA | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c2caa; /* rgb */ color: rgb(44, 44, 170); /* oklch */ color: oklch(39.2% 0.193 273.0);
Tailwind
colors: {
custom: {
50: '#7a67c5',
500: '#2c2caa',
950: '#000000',
},
}SCSS
$custom: #2c2caa; $custom-light: #7a67c5; $custom-dark: #000000;
JSON
{
"hex": "#2c2caa",
"rgb": {
"r": 44,
"g": 44,
"b": 170
},
"hsl": {
"h": 240,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.39217,
"c": 0.19312,
"h": 273
},
"luminance": 0.05239
}Semantic roles & 50–950 ramp
primary
#2C2CAA
secondary
#C3C36F
accent
#E246E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82