#2C36A8#2C36A8
#2C36A8 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.180 H 271.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2C36A8 |
|---|---|
| RGB | rgb(44, 54, 168) |
| HSL | hsl(235, 58%, 42%) |
| HSV | hsv(235, 74%, 66%) |
| CMYK | cmyk(73.8%, 67.9%, 0%, 34.1%) |
| CIE-LAB | lab(29.41, 35.67, -62.14) |
| CIE-LCH | lch(29.41, 71.65, 299.86°) |
| OKLab | oklab(40.6% 0.0049 -0.1797) |
| OKLCH | oklch(40.6% 0.18 271.6) |
| XYZ | xyz(9.4234, 6.0000, 37.6997) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.31
Blue Blue
#2242C7
ΔE00 5.25
Blueberry
#464196
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 6.66
Blue With A Hint Of Purple
#533CC6
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C36A8 #A89E2C
analogous
#2C74A8 #2C36A8 #602CA8
triadic
#2C36A8 #A82C36 #36A82C
tetradic
#2C36A8 #A82C74 #A89E2C #2CA860
square
#2C36A8 #A82C74 #A89E2C #2CA860
split-complementary
#2C36A8 #A8602C #74A82C
monochromatic
#131747 #1F2678 #2C36A8 #434FCE #747CDB
Accessibility & contrast
On white
9.54
#2C36A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2C36A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C36A8
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C36A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C36A8 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c36a8; /* rgb */ color: rgb(44, 54, 168); /* oklch */ color: oklch(40.6% 0.180 271.6);
Tailwind
colors: {
custom: {
50: '#786dc3',
500: '#2c36a8',
950: '#000000',
},
}SCSS
$custom: #2c36a8; $custom-light: #786dc3; $custom-dark: #000000;
JSON
{
"hex": "#2c36a8",
"rgb": {
"r": 44,
"g": 54,
"b": 168
},
"hsl": {
"h": 235.161,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.40602,
"c": 0.17978,
"h": 271.6
},
"luminance": 0.06001
}Semantic roles & 50–950 ramp
primary
#2C36A8
secondary
#C2BB6E
accent
#D546E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82