#2C2CAB#2C2CAB
#2C2CAB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.194 H 272.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2CAB |
|---|---|
| RGB | rgb(44, 44, 171) |
| HSL | hsl(240, 59%, 42%) |
| HSV | hsv(240, 74%, 67%) |
| CMYK | cmyk(74.3%, 74.3%, 0%, 32.9%) |
| CIE-LAB | lab(27.51, 42.77, -67.08) |
| CIE-LCH | lch(27.51, 79.55, 302.52°) |
| OKLab | oklab(39.32% 0.0099 -0.1941) |
| OKLCH | oklch(39.32% 0.194 272.9) |
| XYZ | xyz(9.2876, 5.2762, 39.0491) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.71
Indigo Blue
#3A18B1
ΔE00 4.28
True Blue
#010FCC
ΔE00 5.79
Royal
#0C1793
ΔE00 6.04
Cobalt Blue
#030AA7
ΔE00 6.35
Ultramarine
#2000B1
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2CAB #ABAB2C
analogous
#2C6CAB #2C2CAB #6C2CAB
triadic
#2C2CAB #AB2C2C #2CAB2C
tetradic
#2C2CAB #AB2C6C #ABAB2C #2CAB6C
square
#2C2CAB #AB2C6C #ABAB2C #2CAB6C
split-complementary
#2C2CAB #AB6C2C #6CAB2C
monochromatic
#13134A #1F1F7A #2C2CAB #4545CF #7676DC
Accessibility & contrast
On white
10.22
#2C2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2C2CAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2CAB
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2CAB | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c2cab; /* rgb */ color: rgb(44, 44, 171); /* oklch */ color: oklch(39.3% 0.194 272.9);
Tailwind
colors: {
custom: {
50: '#7a67c5',
500: '#2c2cab',
950: '#000000',
},
}SCSS
$custom: #2c2cab; $custom-light: #7a67c5; $custom-dark: #000000;
JSON
{
"hex": "#2c2cab",
"rgb": {
"r": 44,
"g": 44,
"b": 171
},
"hsl": {
"h": 240,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.39322,
"c": 0.19436,
"h": 272.9
},
"luminance": 0.05277
}Semantic roles & 50–950 ramp
primary
#2C2CAB
secondary
#C3C36F
accent
#E246E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82