#2C37AE#2C37AE
#2C37AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.186 H 271.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2C37AE |
|---|---|
| RGB | rgb(44, 55, 174) |
| HSL | hsl(235, 60%, 43%) |
| HSV | hsv(235, 75%, 68%) |
| CMYK | cmyk(74.7%, 68.4%, 0%, 31.8%) |
| CIE-LAB | lab(30.21, 37.18, -64.43) |
| CIE-LCH | lch(30.21, 74.39, 299.99°) |
| OKLab | oklab(41.36% 0.0037 -0.1864) |
| OKLCH | oklch(41.36% 0.186 271.1) |
| XYZ | xyz(10.0423, 6.3228, 40.7274) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.32
Blue Blue
#2242C7
ΔE00 4.49
Ocean Blue
#4F42B5
ΔE00 5.13
Blueberry
#464196
ΔE00 5.69
Blue With A Hint Of Purple
#533CC6
ΔE00 6.17
Blurple
#5539CC
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C37AE #AEA32C
analogous
#2C78AE #2C37AE #622CAE
triadic
#2C37AE #AE2C37 #37AE2C
tetradic
#2C37AE #AE2C78 #AEA32C #2CAE62
square
#2C37AE #AE2C78 #AEA32C #2CAE62
split-complementary
#2C37AE #AE622C #78AE2C
monochromatic
#13184C #20287D #2C37AE #4752D0 #7880DD
Accessibility & contrast
On white
9.27
#2C37AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2C37AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C37AE
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C37AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C37AE | 1.00 | 9.27 | 2.26 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c37ae; /* rgb */ color: rgb(44, 55, 174); /* oklch */ color: oklch(41.4% 0.186 271.1);
Tailwind
colors: {
custom: {
50: '#796ec7',
500: '#2c37ae',
950: '#000000',
},
}SCSS
$custom: #2c37ae; $custom-light: #796ec7; $custom-dark: #000000;
JSON
{
"hex": "#2c37ae",
"rgb": {
"r": 44,
"g": 55,
"b": 174
},
"hsl": {
"h": 234.923,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.41355,
"c": 0.18642,
"h": 271.1
},
"luminance": 0.06324
}Semantic roles & 50–950 ramp
primary
#2C37AE
secondary
#C5BE71
accent
#D545E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82