#2C36A2#2C36A2
#2C36A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.172 H 271.8°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2C36A2 |
|---|---|
| RGB | rgb(44, 54, 162) |
| HSL | hsl(235, 57%, 40%) |
| HSV | hsv(235, 73%, 64%) |
| CMYK | cmyk(72.8%, 66.7%, 0%, 36.5%) |
| CIE-LAB | lab(28.85, 33.52, -59.44) |
| CIE-LCH | lch(28.85, 68.24, 299.42°) |
| OKLab | oklab(40.03% 0.0054 -0.1718) |
| OKLCH | oklch(40.03% 0.172 271.8) |
| XYZ | xyz(8.8773, 5.7815, 34.8235) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.64
Blueberry
#464196
ΔE00 5.00
Blue Blue
#2242C7
ΔE00 5.88
Ocean Blue
#4F42B5
ΔE00 5.98
Darkslateblue
#483D8B
ΔE00 6.14
Cobalt
#0047AB
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C36A2 #A2982C
analogous
#2C71A2 #2C36A2 #5D2CA2
triadic
#2C36A2 #A22C36 #36A22C
tetradic
#2C36A2 #A22C71 #A2982C #2CA25D
square
#2C36A2 #A22C71 #A2982C #2CA25D
split-complementary
#2C36A2 #A25D2C #71A22C
monochromatic
#121642 #1F2672 #2C36A2 #404CCB #7079D8
Accessibility & contrast
On white
9.74
#2C36A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2C36A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C36A2
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C36A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C36A2 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c36a2; /* rgb */ color: rgb(44, 54, 162); /* oklch */ color: oklch(40.0% 0.172 271.8);
Tailwind
colors: {
custom: {
50: '#776dbf',
500: '#2c36a2',
950: '#000000',
},
}SCSS
$custom: #2c36a2; $custom-light: #776dbf; $custom-dark: #000000;
JSON
{
"hex": "#2c36a2",
"rgb": {
"r": 44,
"g": 54,
"b": 162
},
"hsl": {
"h": 234.915,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.40025,
"c": 0.17188,
"h": 271.8
},
"luminance": 0.05782
}Semantic roles & 50–950 ramp
primary
#2C36A2
secondary
#BFB86A
accent
#D447E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81