#2C2BA3#2C2BA3
#2C2BA3 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.185 H 273.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2BA3 |
|---|---|
| RGB | rgb(44, 43, 163) |
| HSL | hsl(241, 58%, 40%) |
| HSV | hsv(241, 74%, 64%) |
| CMYK | cmyk(73%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(26.47, 40.65, -63.97) |
| CIE-LCH | lch(26.47, 75.79, 302.43°) |
| OKLab | oklab(38.33% 0.0119 -0.185) |
| OKLCH | oklch(38.33% 0.185 273.7) |
| XYZ | xyz(8.5112, 4.9067, 35.1418) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.02
Indigo Blue
#3A18B1
ΔE00 4.52
Royal
#0C1793
ΔE00 5.31
Cobalt Blue
#030AA7
ΔE00 6.11
True Blue
#010FCC
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2BA3 #A2A32B
analogous
#2B66A3 #2C2BA3 #682BA3
triadic
#2C2BA3 #A32C2B #2BA32C
tetradic
#2C2BA3 #A32B66 #A2A32B #2BA368
square
#2C2BA3 #A32B66 #A2A32B #2BA368
split-complementary
#2C2BA3 #A3682B #66A32B
monochromatic
#121142 #1F1E73 #2C2BA3 #403FCC #706FD9
Accessibility & contrast
On white
10.60
#2C2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2C2BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2BA3
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2BA3 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c2ba3; /* rgb */ color: rgb(44, 43, 163); /* oklch */ color: oklch(38.3% 0.185 273.7);
Tailwind
colors: {
custom: {
50: '#7866bf',
500: '#2c2ba3',
950: '#000000',
},
}SCSS
$custom: #2c2ba3; $custom-light: #7866bf; $custom-dark: #000000;
JSON
{
"hex": "#2c2ba3",
"rgb": {
"r": 44,
"g": 43,
"b": 163
},
"hsl": {
"h": 240.5,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.38333,
"c": 0.18541,
"h": 273.7
},
"luminance": 0.04908
}Semantic roles & 50–950 ramp
primary
#2C2BA3
secondary
#BFC06A
accent
#E146E0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81