#2C2BA6#2C2BA6
#2C2BA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.189 H 273.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2BA6 |
|---|---|
| RGB | rgb(44, 43, 166) |
| HSL | hsl(240, 59%, 41%) |
| HSV | hsv(240, 74%, 65%) |
| CMYK | cmyk(73.5%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(26.78, 41.66, -65.27) |
| CIE-LCH | lch(26.78, 77.43, 302.55°) |
| OKLab | oklab(38.65% 0.0113 -0.1888) |
| OKLCH | oklch(38.65% 0.189 273.4) |
| XYZ | xyz(8.7832, 5.0155, 36.5742) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Indigo Blue
#3A18B1
ΔE00 4.32
Royal
#0C1793
ΔE00 5.49
Cobalt Blue
#030AA7
ΔE00 6.09
True Blue
#010FCC
ΔE00 6.10
Ultramarine
#2000B1
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2BA6 #A5A62B
analogous
#2B67A6 #2C2BA6 #692BA6
triadic
#2C2BA6 #A62C2B #2BA62C
tetradic
#2C2BA6 #A62B67 #A5A62B #2BA669
square
#2C2BA6 #A62B67 #A5A62B #2BA669
split-complementary
#2C2BA6 #A6692B #67A62B
monochromatic
#121245 #1F1E75 #2C2BA6 #4241CE #7271DA
Accessibility & contrast
On white
10.48
#2C2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2C2BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2BA6
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2BA6 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c2ba6; /* rgb */ color: rgb(44, 43, 166); /* oklch */ color: oklch(38.6% 0.189 273.4);
Tailwind
colors: {
custom: {
50: '#7966c2',
500: '#2c2ba6',
950: '#000000',
},
}SCSS
$custom: #2c2ba6; $custom-light: #7966c2; $custom-dark: #000000;
JSON
{
"hex": "#2c2ba6",
"rgb": {
"r": 44,
"g": 43,
"b": 166
},
"hsl": {
"h": 240.488,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.38648,
"c": 0.18917,
"h": 273.4
},
"luminance": 0.05016
}Semantic roles & 50–950 ramp
primary
#2C2BA6
secondary
#C1C16B
accent
#E246E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81