#2C388E#2C388E
#2C388E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.142 H 271.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C388E |
|---|---|
| RGB | rgb(44, 56, 142) |
| HSL | hsl(233, 53%, 36%) |
| HSV | hsv(233, 69%, 56%) |
| CMYK | cmyk(69%, 60.6%, 0%, 44.3%) |
| CIE-LAB | lab(27.62, 24.86, -49.24) |
| CIE-LCH | lch(27.62, 55.16, 296.79°) |
| OKLab | oklab(38.57% 0.0048 -0.1419) |
| OKLCH | oklch(38.57% 0.142 271.9) |
| XYZ | xyz(7.3337, 5.3161, 26.2256) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.31
Blueberry
#464196
ΔE00 4.48
Darkslateblue
#483D8B
ΔE00 4.97
Cobalt (survey)
#1E488F
ΔE00 6.77
Cobalt
#0047AB
ΔE00 7.05
Darkish Blue
#014182
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C388E #8E822C
analogous
#2C698E #2C388E #512C8E
triadic
#2C388E #8E2C38 #388E2C
tetradic
#2C388E #8E2C69 #8E822C #2C8E51
square
#2C388E #8E2C69 #8E822C #2C8E51
split-complementary
#2C388E #8E512C #698E2C
monochromatic
#0F1331 #1E265F #2C388E #3A4ABD #6572CF
Accessibility & contrast
On white
10.18
#2C388E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2C388E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C388E
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C388E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C388E | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c388e; /* rgb */ color: rgb(44, 56, 142); /* oklch */ color: oklch(38.6% 0.142 271.9);
Tailwind
colors: {
custom: {
50: '#726eb0',
500: '#2c388e',
950: '#000000',
},
}SCSS
$custom: #2c388e; $custom-light: #726eb0; $custom-dark: #000000;
JSON
{
"hex": "#2c388e",
"rgb": {
"r": 44,
"g": 56,
"b": 142
},
"hsl": {
"h": 232.653,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.38575,
"c": 0.14194,
"h": 271.9
},
"luminance": 0.05317
}Semantic roles & 50–950 ramp
primary
#2C388E
secondary
#B6AB60
accent
#CA4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F