#2C36AB#2C36AB
#2C36AB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.184 H 271.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2C36AB |
|---|---|
| RGB | rgb(44, 54, 171) |
| HSL | hsl(235, 59%, 42%) |
| HSV | hsv(235, 74%, 67%) |
| CMYK | cmyk(74.3%, 68.4%, 0%, 32.9%) |
| CIE-LAB | lab(29.70, 36.74, -63.48) |
| CIE-LCH | lch(29.70, 73.34, 300.06°) |
| OKLab | oklab(40.89% 0.0046 -0.1836) |
| OKLCH | oklch(40.89% 0.184 271.4) |
| XYZ | xyz(9.7061, 6.1131, 39.1886) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.33
Blue Blue
#2242C7
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 5.39
Blueberry
#464196
ΔE00 5.59
Blue With A Hint Of Purple
#533CC6
ΔE00 6.48
Indigo Blue
#3A18B1
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C36AB #ABA12C
analogous
#2C75AB #2C36AB #622CAB
triadic
#2C36AB #AB2C36 #36AB2C
tetradic
#2C36AB #AB2C75 #ABA12C #2CAB62
square
#2C36AB #AB2C75 #ABA12C #2CAB62
split-complementary
#2C36AB #AB622C #75AB2C
monochromatic
#13174A #1F277A #2C36AB #4550CF #767EDC
Accessibility & contrast
On white
9.45
#2C36AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2C36AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C36AB
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C36AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C36AB | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c36ab; /* rgb */ color: rgb(44, 54, 171); /* oklch */ color: oklch(40.9% 0.184 271.4);
Tailwind
colors: {
custom: {
50: '#796dc5',
500: '#2c36ab',
950: '#000000',
},
}SCSS
$custom: #2c36ab; $custom-light: #796dc5; $custom-dark: #000000;
JSON
{
"hex": "#2c36ab",
"rgb": {
"r": 44,
"g": 54,
"b": 171
},
"hsl": {
"h": 235.276,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.40894,
"c": 0.18367,
"h": 271.4
},
"luminance": 0.06114
}Semantic roles & 50–950 ramp
primary
#2C36AB
secondary
#C3BD6F
accent
#D646E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82