#2C37AF#2C37AF
#2C37AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.188 H 271.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C37AF |
|---|---|
| RGB | rgb(44, 55, 175) |
| HSL | hsl(235, 60%, 43%) |
| HSV | hsv(235, 75%, 69%) |
| CMYK | cmyk(74.9%, 68.6%, 0%, 31.4%) |
| CIE-LAB | lab(30.31, 37.54, -64.87) |
| CIE-LCH | lch(30.31, 74.95, 300.06°) |
| OKLab | oklab(41.45% 0.0036 -0.1877) |
| OKLCH | oklch(41.45% 0.188 271.1) |
| XYZ | xyz(10.1401, 6.3619, 41.2427) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.40
Blue Blue
#2242C7
ΔE00 4.40
Ocean Blue
#4F42B5
ΔE00 5.09
Blueberry
#464196
ΔE00 5.77
Blue With A Hint Of Purple
#533CC6
ΔE00 6.07
Blurple
#5539CC
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C37AF #AFA42C
analogous
#2C78AF #2C37AF #632CAF
triadic
#2C37AF #AF2C37 #37AF2C
tetradic
#2C37AF #AF2C78 #AFA42C #2CAF63
square
#2C37AF #AF2C78 #AFA42C #2CAF63
split-complementary
#2C37AF #AF632C #78AF2C
monochromatic
#13184D #20287E #2C37AF #4753D1 #7881DD
Accessibility & contrast
On white
9.24
#2C37AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2C37AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C37AF
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C37AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C37AF | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c37af; /* rgb */ color: rgb(44, 55, 175); /* oklch */ color: oklch(41.5% 0.188 271.1);
Tailwind
colors: {
custom: {
50: '#7a6ec8',
500: '#2c37af',
950: '#000000',
},
}SCSS
$custom: #2c37af; $custom-light: #7a6ec8; $custom-dark: #000000;
JSON
{
"hex": "#2c37af",
"rgb": {
"r": 44,
"g": 55,
"b": 175
},
"hsl": {
"h": 234.962,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.41453,
"c": 0.1877,
"h": 271.1
},
"luminance": 0.06363
}Semantic roles & 50–950 ramp
primary
#2C37AF
secondary
#C5BE72
accent
#D645E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82