#2C378F#2C378F
#2C378F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.145 H 272.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C378F |
|---|---|
| RGB | rgb(44, 55, 143) |
| HSL | hsl(233, 53%, 37%) |
| HSV | hsv(233, 69%, 56%) |
| CMYK | cmyk(69.2%, 61.5%, 0%, 43.9%) |
| CIE-LAB | lab(27.44, 25.90, -50.15) |
| CIE-LCH | lch(27.44, 56.44, 297.32°) |
| OKLab | oklab(38.47% 0.0056 -0.1446) |
| OKLCH | oklch(38.47% 0.145 272.2) |
| XYZ | xyz(7.3612, 5.2503, 26.6068) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Blueberry
#464196
ΔE00 4.53
Darkslateblue
#483D8B
ΔE00 4.99
Cobalt (survey)
#1E488F
ΔE00 7.12
Cobalt
#0047AB
ΔE00 7.25
Darkish Blue
#014182
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C378F #8F842C
analogous
#2C698F #2C378F #532C8F
triadic
#2C378F #8F2C37 #378F2C
tetradic
#2C378F #8F2C69 #8F842C #2C8F53
square
#2C378F #8F2C69 #8F842C #2C8F53
split-complementary
#2C378F #8F532C #698F2C
monochromatic
#0F1331 #1E2560 #2C378F #3A49BE #6671D0
Accessibility & contrast
On white
10.24
#2C378F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2C378F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C378F
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C378F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C378F | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c378f; /* rgb */ color: rgb(44, 55, 143); /* oklch */ color: oklch(38.5% 0.145 272.2);
Tailwind
colors: {
custom: {
50: '#726db1',
500: '#2c378f',
950: '#000000',
},
}SCSS
$custom: #2c378f; $custom-light: #726db1; $custom-dark: #000000;
JSON
{
"hex": "#2c378f",
"rgb": {
"r": 44,
"g": 55,
"b": 143
},
"hsl": {
"h": 233.333,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.38467,
"c": 0.14466,
"h": 272.2
},
"luminance": 0.05251
}Semantic roles & 50–950 ramp
primary
#2C378F
secondary
#B6AD61
accent
#CC4BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80