#2C2BA5#2C2BA5
#2C2BA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.188 H 273.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2BA5 |
|---|---|
| RGB | rgb(44, 43, 165) |
| HSL | hsl(240, 59%, 41%) |
| HSV | hsv(240, 74%, 65%) |
| CMYK | cmyk(73.3%, 73.9%, 0%, 35.3%) |
| CIE-LAB | lab(26.67, 41.32, -64.84) |
| CIE-LCH | lch(26.67, 76.89, 302.51°) |
| OKLab | oklab(38.54% 0.0115 -0.1876) |
| OKLCH | oklch(38.54% 0.188 273.5) |
| XYZ | xyz(8.6918, 4.9790, 36.0930) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.97
Indigo Blue
#3A18B1
ΔE00 4.38
Royal
#0C1793
ΔE00 5.43
Cobalt Blue
#030AA7
ΔE00 6.09
True Blue
#010FCC
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2BA5 #A4A52B
analogous
#2B67A5 #2C2BA5 #692BA5
triadic
#2C2BA5 #A52C2B #2BA52C
tetradic
#2C2BA5 #A52B67 #A4A52B #2BA569
square
#2C2BA5 #A52B67 #A4A52B #2BA569
split-complementary
#2C2BA5 #A5692B #67A52B
monochromatic
#121244 #1F1E74 #2C2BA5 #4140CD #7171DA
Accessibility & contrast
On white
10.52
#2C2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2C2BA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2BA5
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2BA5 | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c2ba5; /* rgb */ color: rgb(44, 43, 165); /* oklch */ color: oklch(38.5% 0.188 273.5);
Tailwind
colors: {
custom: {
50: '#7866c1',
500: '#2c2ba5',
950: '#000000',
},
}SCSS
$custom: #2c2ba5; $custom-light: #7866c1; $custom-dark: #000000;
JSON
{
"hex": "#2c2ba5",
"rgb": {
"r": 44,
"g": 43,
"b": 165
},
"hsl": {
"h": 240.492,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.38543,
"c": 0.18791,
"h": 273.5
},
"luminance": 0.0498
}Semantic roles & 50–950 ramp
primary
#2C2BA5
secondary
#C0C16B
accent
#E246E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81