#2C379E#2C379E
#2C379E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.165 H 271.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C379E |
|---|---|
| RGB | rgb(44, 55, 158) |
| HSL | hsl(234, 56%, 40%) |
| HSV | hsv(234, 72%, 62%) |
| CMYK | cmyk(72.2%, 65.2%, 0%, 38%) |
| CIE-LAB | lab(28.74, 31.42, -57.21) |
| CIE-LCH | lch(28.74, 65.27, 298.78°) |
| OKLab | oklab(39.83% 0.005 -0.1653) |
| OKLCH | oklch(39.83% 0.165 271.7) |
| XYZ | xyz(8.5744, 5.7356, 32.9963) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.99
Blueberry
#464196
ΔE00 4.67
Darkslateblue
#483D8B
ΔE00 5.78
Blue Blue
#2242C7
ΔE00 6.20
Ocean Blue
#4F42B5
ΔE00 6.24
Cobalt
#0047AB
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C379E #9E932C
analogous
#2C709E #2C379E #5A2C9E
triadic
#2C379E #9E2C37 #379E2C
tetradic
#2C379E #9E2C70 #9E932C #2C9E5A
square
#2C379E #9E2C70 #9E932C #2C9E5A
split-complementary
#2C379E #9E5A2C #709E2C
monochromatic
#11163E #1F266E #2C379E #3E4BC9 #6E78D7
Accessibility & contrast
On white
9.78
#2C379E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2C379E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C379E
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C379E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C379E | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c379e; /* rgb */ color: rgb(44, 55, 158); /* oklch */ color: oklch(39.8% 0.165 271.7);
Tailwind
colors: {
custom: {
50: '#766ebc',
500: '#2c379e',
950: '#000000',
},
}SCSS
$custom: #2c379e; $custom-light: #766ebc; $custom-dark: #000000;
JSON
{
"hex": "#2c379e",
"rgb": {
"r": 44,
"g": 55,
"b": 158
},
"hsl": {
"h": 234.211,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.39827,
"c": 0.16534,
"h": 271.7
},
"luminance": 0.05736
}Semantic roles & 50–950 ramp
primary
#2C379E
secondary
#BEB568
accent
#D148E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81