#2C2BA2#2C2BA2
#2C2BA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.184 H 273.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2BA2 |
|---|---|
| RGB | rgb(44, 43, 162) |
| HSL | hsl(241, 58%, 40%) |
| HSV | hsv(241, 73%, 64%) |
| CMYK | cmyk(72.8%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(26.36, 40.31, -63.53) |
| CIE-LCH | lch(26.36, 75.24, 302.39°) |
| OKLab | oklab(38.23% 0.012 -0.1838) |
| OKLCH | oklch(38.23% 0.184 273.7) |
| XYZ | xyz(8.4220, 4.8710, 34.6718) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.05
Indigo Blue
#3A18B1
ΔE00 4.60
Royal
#0C1793
ΔE00 5.25
Cobalt Blue
#030AA7
ΔE00 6.13
True Blue
#010FCC
ΔE00 6.53
Ultramarine
#2000B1
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2BA2 #A1A22B
analogous
#2B66A2 #2C2BA2 #672BA2
triadic
#2C2BA2 #A22C2B #2BA22C
tetradic
#2C2BA2 #A22B66 #A1A22B #2BA267
square
#2C2BA2 #A22B66 #A1A22B #2BA267
split-complementary
#2C2BA2 #A2672B #66A22B
monochromatic
#121141 #1F1E72 #2C2BA2 #403ECC #706FD9
Accessibility & contrast
On white
10.64
#2C2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2C2BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2BA2
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2BA2 | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c2ba2; /* rgb */ color: rgb(44, 43, 162); /* oklch */ color: oklch(38.2% 0.184 273.7);
Tailwind
colors: {
custom: {
50: '#7866bf',
500: '#2c2ba2',
950: '#000000',
},
}SCSS
$custom: #2c2ba2; $custom-light: #7866bf; $custom-dark: #000000;
JSON
{
"hex": "#2c2ba2",
"rgb": {
"r": 44,
"g": 43,
"b": 162
},
"hsl": {
"h": 240.504,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.38229,
"c": 0.18415,
"h": 273.7
},
"luminance": 0.04872
}Semantic roles & 50–950 ramp
primary
#2C2BA2
secondary
#BFC069
accent
#E147E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81