#3C398E#3C398E
#3C398E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.137 H 279.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3C398E |
|---|---|
| RGB | rgb(60, 57, 142) |
| HSL | hsl(242, 43%, 39%) |
| HSV | hsv(242, 60%, 56%) |
| CMYK | cmyk(57.7%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(29.00, 27.02, -46.93) |
| CIE-LCH | lch(29.00, 54.15, 299.93°) |
| OKLab | oklab(39.9% 0.0232 -0.1346) |
| OKLCH | oklch(39.9% 0.137 279.8) |
| XYZ | xyz(8.2076, 5.8394, 26.2806) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.57
Blueberry
#464196
ΔE00 2.70
Sapphire (survey)
#2138AB
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 6.73
Twilight
#4E518B
ΔE00 8.21
Cobalt (survey)
#1E488F
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C398E #8B8E39
analogous
#39618E #3C398E #67398E
triadic
#3C398E #8E3C39 #398E3C
tetradic
#3C398E #8E3961 #8B8E39 #398E67
square
#3C398E #8E3961 #8B8E39 #398E67
split-complementary
#3C398E #8E6739 #618E39
monochromatic
#171637 #2A2762 #3C398E #514DB7 #7B78C9
Accessibility & contrast
On white
9.69
#3C398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#3C398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C398E
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C398E | 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)
#004891
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#104D5E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3c398e; /* rgb */ color: rgb(60, 57, 142); /* oklch */ color: oklch(39.9% 0.137 279.8);
Tailwind
colors: {
custom: {
50: '#7a6fb0',
500: '#3c398e',
950: '#000000',
},
}SCSS
$custom: #3c398e; $custom-light: #7a6fb0; $custom-dark: #000000;
JSON
{
"hex": "#3c398e",
"rgb": {
"r": 60,
"g": 57,
"b": 142
},
"hsl": {
"h": 242.118,
"s": 42.714,
"l": 39.02
},
"oklch": {
"l": 0.39895,
"c": 0.13662,
"h": 279.8
},
"luminance": 0.0584
}Semantic roles & 50–950 ramp
primary
#3C398E
secondary
#B0B271
accent
#D255CE
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F