#2C378D#2C378D
#2C378D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.142 H 272.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2C378D |
|---|---|
| RGB | rgb(44, 55, 141) |
| HSL | hsl(233, 52%, 36%) |
| HSV | hsv(233, 69%, 55%) |
| CMYK | cmyk(68.8%, 61%, 0%, 44.7%) |
| CIE-LAB | lab(27.27, 25.16, -49.18) |
| CIE-LCH | lch(27.27, 55.24, 297.09°) |
| OKLab | oklab(38.29% 0.0056 -0.1417) |
| OKLCH | oklch(38.29% 0.142 272.3) |
| XYZ | xyz(7.2110, 5.1903, 25.8159) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Blueberry
#464196
ΔE00 4.60
Darkslateblue
#483D8B
ΔE00 4.96
Cobalt (survey)
#1E488F
ΔE00 7.07
Cobalt
#0047AB
ΔE00 7.36
Darkish Blue
#014182
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C378D #8D822C
analogous
#2C688D #2C378D #522C8D
triadic
#2C378D #8D2C37 #378D2C
tetradic
#2C378D #8D2C68 #8D822C #2C8D52
square
#2C378D #8D2C68 #8D822C #2C8D52
split-complementary
#2C378D #8D522C #688D2C
monochromatic
#0F1330 #1D255E #2C378D #3B49BC #6571CF
Accessibility & contrast
On white
10.30
#2C378D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2C378D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C378D
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C378D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C378D | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c378d; /* rgb */ color: rgb(44, 55, 141); /* oklch */ color: oklch(38.3% 0.142 272.3);
Tailwind
colors: {
custom: {
50: '#726daf',
500: '#2c378d',
950: '#000000',
},
}SCSS
$custom: #2c378d; $custom-light: #726daf; $custom-dark: #000000;
JSON
{
"hex": "#2c378d",
"rgb": {
"r": 44,
"g": 55,
"b": 141
},
"hsl": {
"h": 233.196,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.38292,
"c": 0.14183,
"h": 272.3
},
"luminance": 0.05191
}Semantic roles & 50–950 ramp
primary
#2C378D
secondary
#B5AB60
accent
#CC4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F