#2C2AA3#2C2AA3
#2C2AA3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.186 H 273.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2AA3 |
|---|---|
| RGB | rgb(44, 42, 163) |
| HSL | hsl(241, 59%, 40%) |
| HSV | hsv(241, 74%, 64%) |
| CMYK | cmyk(73%, 74.2%, 0%, 36.1%) |
| CIE-LAB | lab(26.26, 41.23, -64.31) |
| CIE-LCH | lch(26.26, 76.39, 302.66°) |
| OKLab | oklab(38.19% 0.0124 -0.186) |
| OKLCH | oklch(38.19% 0.186 273.8) |
| XYZ | xyz(8.4753, 4.8349, 35.1298) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.26
Indigo Blue
#3A18B1
ΔE00 4.31
Royal
#0C1793
ΔE00 5.11
Cobalt Blue
#030AA7
ΔE00 5.88
True Blue
#010FCC
ΔE00 6.26
Ultramarine
#2000B1
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2AA3 #A1A32A
analogous
#2A64A3 #2C2AA3 #692AA3
triadic
#2C2AA3 #A32C2A #2AA32C
tetradic
#2C2AA3 #A32A64 #A1A32A #2AA369
square
#2C2AA3 #A32A64 #A1A32A #2AA369
split-complementary
#2C2AA3 #A3692A #64A32A
monochromatic
#121142 #1F1D72 #2C2AA3 #403DCD #706EDA
Accessibility & contrast
On white
10.68
#2C2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2C2AA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2AA3
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2AA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2AA3 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c2aa3; /* rgb */ color: rgb(44, 42, 163); /* oklch */ color: oklch(38.2% 0.186 273.8);
Tailwind
colors: {
custom: {
50: '#7865bf',
500: '#2c2aa3',
950: '#000000',
},
}SCSS
$custom: #2c2aa3; $custom-light: #7865bf; $custom-dark: #000000;
JSON
{
"hex": "#2c2aa3",
"rgb": {
"r": 44,
"g": 42,
"b": 163
},
"hsl": {
"h": 240.992,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.38185,
"c": 0.18644,
"h": 273.8
},
"luminance": 0.04836
}Semantic roles & 50–950 ramp
primary
#2C2AA3
secondary
#BFC068
accent
#E246E0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81