#2C2BA9#2C2BA9
#2C2BA9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.193 H 273.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2BA9 |
|---|---|
| RGB | rgb(44, 43, 169) |
| HSL | hsl(240, 59%, 42%) |
| HSV | hsv(240, 75%, 66%) |
| CMYK | cmyk(74%, 74.6%, 0%, 33.7%) |
| CIE-LAB | lab(27.09, 42.67, -66.56) |
| CIE-LCH | lch(27.09, 79.06, 302.66°) |
| OKLab | oklab(38.96% 0.0108 -0.1926) |
| OKLCH | oklch(38.96% 0.193 273.2) |
| XYZ | xyz(9.0616, 5.1269, 38.0404) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.94
Indigo Blue
#3A18B1
ΔE00 4.15
Royal
#0C1793
ΔE00 5.71
True Blue
#010FCC
ΔE00 5.80
Cobalt Blue
#030AA7
ΔE00 6.10
Ultramarine
#2000B1
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2BA9 #A8A92B
analogous
#2B69A9 #2C2BA9 #6B2BA9
triadic
#2C2BA9 #A92C2B #2BA92C
tetradic
#2C2BA9 #A92B69 #A8A92B #2BA96B
square
#2C2BA9 #A92B69 #A8A92B #2BA96B
split-complementary
#2C2BA9 #A96B2B #69A92B
monochromatic
#131247 #1F1F78 #2C2BA9 #4342CF #7473DB
Accessibility & contrast
On white
10.37
#2C2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2C2BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2BA9
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2BA9 | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c2ba9; /* rgb */ color: rgb(44, 43, 169); /* oklch */ color: oklch(39.0% 0.193 273.2);
Tailwind
colors: {
custom: {
50: '#7966c4',
500: '#2c2ba9',
950: '#000000',
},
}SCSS
$custom: #2c2ba9; $custom-light: #7966c4; $custom-dark: #000000;
JSON
{
"hex": "#2c2ba9",
"rgb": {
"r": 44,
"g": 43,
"b": 169
},
"hsl": {
"h": 240.476,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.38965,
"c": 0.19289,
"h": 273.2
},
"luminance": 0.05128
}Semantic roles & 50–950 ramp
primary
#2C2BA9
secondary
#C2C36D
accent
#E345E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82