#2C389E#2C389E
#2C389E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.164 H 271.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C389E |
|---|---|
| RGB | rgb(44, 56, 158) |
| HSL | hsl(234, 56%, 40%) |
| HSV | hsv(234, 72%, 62%) |
| CMYK | cmyk(72.2%, 64.6%, 0%, 38%) |
| CIE-LAB | lab(28.98, 30.77, -56.80) |
| CIE-LCH | lch(28.98, 64.60, 298.44°) |
| OKLab | oklab(40.01% 0.0043 -0.1641) |
| OKLCH | oklch(40.01% 0.164 271.5) |
| XYZ | xyz(8.6223, 5.8316, 33.0123) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.96
Blueberry
#464196
ΔE00 4.54
Darkslateblue
#483D8B
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 6.07
Ocean Blue
#4F42B5
ΔE00 6.19
Cobalt
#0047AB
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C389E #9E922C
analogous
#2C719E #2C389E #592C9E
triadic
#2C389E #9E2C38 #389E2C
tetradic
#2C389E #9E2C71 #9E922C #2C9E59
square
#2C389E #9E2C71 #9E922C #2C9E59
split-complementary
#2C389E #9E592C #719E2C
monochromatic
#11163E #1F276E #2C389E #3E4DC9 #6E79D7
Accessibility & contrast
On white
9.69
#2C389E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2C389E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C389E
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C389E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C389E | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c389e; /* rgb */ color: rgb(44, 56, 158); /* oklch */ color: oklch(40.0% 0.164 271.5);
Tailwind
colors: {
custom: {
50: '#766ebc',
500: '#2c389e',
950: '#000000',
},
}SCSS
$custom: #2c389e; $custom-light: #766ebc; $custom-dark: #000000;
JSON
{
"hex": "#2c389e",
"rgb": {
"r": 44,
"g": 56,
"b": 158
},
"hsl": {
"h": 233.684,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.40009,
"c": 0.16413,
"h": 271.5
},
"luminance": 0.05832
}Semantic roles & 50–950 ramp
primary
#2C389E
secondary
#BEB568
accent
#D048E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81