#2C378E#2C378E
#2C378E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.143 H 272.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2C378E |
|---|---|
| RGB | rgb(44, 55, 142) |
| HSL | hsl(233, 53%, 36%) |
| HSV | hsv(233, 69%, 56%) |
| CMYK | cmyk(69%, 61.3%, 0%, 44.3%) |
| CIE-LAB | lab(27.35, 25.53, -49.67) |
| CIE-LCH | lch(27.35, 55.84, 297.20°) |
| OKLab | oklab(38.38% 0.0056 -0.1431) |
| OKLCH | oklch(38.38% 0.143 272.2) |
| XYZ | xyz(7.2857, 5.2202, 26.2096) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.28
Blueberry
#464196
ΔE00 4.56
Darkslateblue
#483D8B
ΔE00 4.97
Cobalt (survey)
#1E488F
ΔE00 7.09
Cobalt
#0047AB
ΔE00 7.30
Darkish Blue
#014182
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C378E #8E832C
analogous
#2C688E #2C378E #522C8E
triadic
#2C378E #8E2C37 #378E2C
tetradic
#2C378E #8E2C68 #8E832C #2C8E52
square
#2C378E #8E2C68 #8E832C #2C8E52
split-complementary
#2C378E #8E522C #688E2C
monochromatic
#0F1331 #1E255F #2C378E #3A49BD #6571CF
Accessibility & contrast
On white
10.27
#2C378E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2C378E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C378E
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C378E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C378E | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c378e; /* rgb */ color: rgb(44, 55, 142); /* oklch */ color: oklch(38.4% 0.143 272.2);
Tailwind
colors: {
custom: {
50: '#726db0',
500: '#2c378e',
950: '#000000',
},
}SCSS
$custom: #2c378e; $custom-light: #726db0; $custom-dark: #000000;
JSON
{
"hex": "#2c378e",
"rgb": {
"r": 44,
"g": 55,
"b": 142
},
"hsl": {
"h": 233.265,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.38379,
"c": 0.14325,
"h": 272.2
},
"luminance": 0.05221
}Semantic roles & 50–950 ramp
primary
#2C378E
secondary
#B6AC60
accent
#CC4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F