#2C37B0#2C37B0
#2C37B0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.189 H 271.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2C37B0 |
|---|---|
| RGB | rgb(44, 55, 176) |
| HSL | hsl(235, 60%, 43%) |
| HSV | hsv(235, 75%, 69%) |
| CMYK | cmyk(75%, 68.8%, 0%, 31%) |
| CIE-LAB | lab(30.40, 37.89, -65.31) |
| CIE-LCH | lch(30.40, 75.50, 300.12°) |
| OKLab | oklab(41.55% 0.0035 -0.1889) |
| OKLCH | oklch(41.55% 0.189 271.1) |
| XYZ | xyz(10.2387, 6.4014, 41.7619) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.49
Blue Blue
#2242C7
ΔE00 4.31
Ocean Blue
#4F42B5
ΔE00 5.04
Blueberry
#464196
ΔE00 5.85
Blue With A Hint Of Purple
#533CC6
ΔE00 5.97
Blurple
#5539CC
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C37B0 #B0A52C
analogous
#2C79B0 #2C37B0 #632CB0
triadic
#2C37B0 #B02C37 #37B02C
tetradic
#2C37B0 #B02C79 #B0A52C #2CB063
square
#2C37B0 #B02C79 #B0A52C #2CB063
split-complementary
#2C37B0 #B0632C #79B02C
monochromatic
#14184E #20287F #2C37B0 #4853D1 #7981DD
Accessibility & contrast
On white
9.21
#2C37B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2C37B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C37B0
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C37B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C37B0 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0041AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c37b0; /* rgb */ color: rgb(44, 55, 176); /* oklch */ color: oklch(41.6% 0.189 271.1);
Tailwind
colors: {
custom: {
50: '#7a6ec9',
500: '#2c37b0',
950: '#000000',
},
}SCSS
$custom: #2c37b0; $custom-light: #7a6ec9; $custom-dark: #000000;
JSON
{
"hex": "#2c37b0",
"rgb": {
"r": 44,
"g": 55,
"b": 176
},
"hsl": {
"h": 235,
"s": 60,
"l": 43.137
},
"oklch": {
"l": 0.41551,
"c": 0.18898,
"h": 271.1
},
"luminance": 0.06402
}Semantic roles & 50–950 ramp
primary
#2C37B0
secondary
#C6BF72
accent
#D645E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82