#2C2BA1#2C2BA1
#2C2BA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.183 H 273.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2BA1 |
|---|---|
| RGB | rgb(44, 43, 161) |
| HSL | hsl(241, 58%, 40%) |
| HSV | hsv(241, 73%, 63%) |
| CMYK | cmyk(72.7%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(26.26, 39.97, -63.10) |
| CIE-LCH | lch(26.26, 74.69, 302.35°) |
| OKLab | oklab(38.13% 0.0122 -0.1825) |
| OKLCH | oklch(38.13% 0.183 273.8) |
| XYZ | xyz(8.3335, 4.8356, 34.2055) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 4.68
Royal
#0C1793
ΔE00 5.20
Cobalt Blue
#030AA7
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.61
Royal Blue (survey)
#0504AA
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2BA1 #A0A12B
analogous
#2B65A1 #2C2BA1 #672BA1
triadic
#2C2BA1 #A12C2B #2BA12C
tetradic
#2C2BA1 #A12B65 #A0A12B #2BA167
square
#2C2BA1 #A12B65 #A0A12B #2BA167
split-complementary
#2C2BA1 #A1672B #65A12B
monochromatic
#121140 #1F1E71 #2C2BA1 #3F3ECB #6F6ED8
Accessibility & contrast
On white
10.68
#2C2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2C2BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2BA1
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2BA1 | 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)
#0044A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c2ba1; /* rgb */ color: rgb(44, 43, 161); /* oklch */ color: oklch(38.1% 0.183 273.8);
Tailwind
colors: {
custom: {
50: '#7766be',
500: '#2c2ba1',
950: '#000000',
},
}SCSS
$custom: #2c2ba1; $custom-light: #7766be; $custom-dark: #000000;
JSON
{
"hex": "#2c2ba1",
"rgb": {
"r": 44,
"g": 43,
"b": 161
},
"hsl": {
"h": 240.508,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.38125,
"c": 0.1829,
"h": 273.8
},
"luminance": 0.04836
}Semantic roles & 50–950 ramp
primary
#2C2BA1
secondary
#BFBF69
accent
#E147E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81