#2C2CAC#2C2CAC
#2C2CAC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.196 H 272.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2CAC |
|---|---|
| RGB | rgb(44, 44, 172) |
| HSL | hsl(240, 59%, 42%) |
| HSV | hsv(240, 74%, 67%) |
| CMYK | cmyk(74.4%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(27.61, 43.10, -67.51) |
| CIE-LCH | lch(27.61, 80.10, 302.56°) |
| OKLab | oklab(39.43% 0.0098 -0.1953) |
| OKLCH | oklch(39.43% 0.196 272.9) |
| XYZ | xyz(9.3833, 5.3144, 39.5530) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.72
Indigo Blue
#3A18B1
ΔE00 4.24
True Blue
#010FCC
ΔE00 5.70
Royal
#0C1793
ΔE00 6.12
Cobalt Blue
#030AA7
ΔE00 6.36
Ultramarine
#2000B1
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2CAC #ACAC2C
analogous
#2C6CAC #2C2CAC #6C2CAC
triadic
#2C2CAC #AC2C2C #2CAC2C
tetradic
#2C2CAC #AC2C6C #ACAC2C #2CAC6C
square
#2C2CAC #AC2C6C #ACAC2C #2CAC6C
split-complementary
#2C2CAC #AC6C2C #6CAC2C
monochromatic
#13134B #20207B #2C2CAC #4646D0 #7676DC
Accessibility & contrast
On white
10.18
#2C2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2C2CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2CAC
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2CAC | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c2cac; /* rgb */ color: rgb(44, 44, 172); /* oklch */ color: oklch(39.4% 0.196 272.9);
Tailwind
colors: {
custom: {
50: '#7a67c6',
500: '#2c2cac',
950: '#000000',
},
}SCSS
$custom: #2c2cac; $custom-light: #7a67c6; $custom-dark: #000000;
JSON
{
"hex": "#2c2cac",
"rgb": {
"r": 44,
"g": 44,
"b": 172
},
"hsl": {
"h": 240,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.39428,
"c": 0.19559,
"h": 272.9
},
"luminance": 0.05315
}Semantic roles & 50–950 ramp
primary
#2C2CAC
secondary
#C4C470
accent
#E245E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82