#3C308F#3C308F
#3C308F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.150 H 282.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3C308F |
|---|---|
| RGB | rgb(60, 48, 143) |
| HSL | hsl(248, 50%, 37%) |
| HSV | hsv(248, 66%, 56%) |
| CMYK | cmyk(58%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(26.90, 33.09, -50.98) |
| CIE-LCH | lch(26.90, 60.77, 302.99°) |
| OKLab | oklab(38.38% 0.0323 -0.1466) |
| OKLCH | oklch(38.38% 0.15 282.4) |
| XYZ | xyz(7.8768, 5.0572, 26.5424) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.31
Blueberry
#464196
ΔE00 4.93
Sapphire (survey)
#2138AB
ΔE00 5.75
Indigo Blue
#3A18B1
ΔE00 6.99
Royal
#0C1793
ΔE00 7.04
Ocean Blue
#4F42B5
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C308F #838F30
analogous
#30548F #3C308F #6C308F
triadic
#3C308F #8F3C30 #308F3C
tetradic
#3C308F #8F3054 #838F30 #308F6C
square
#3C308F #8F3054 #838F30 #308F6C
split-complementary
#3C308F #8F6C30 #548F30
monochromatic
#161133 #292161 #3C308F #4F3FBD #786CCE
Accessibility & contrast
On white
10.44
#3C308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#3C308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C308F
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C308F | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#10485B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3c308f; /* rgb */ color: rgb(60, 48, 143); /* oklch */ color: oklch(38.4% 0.150 282.4);
Tailwind
colors: {
custom: {
50: '#7b69b1',
500: '#3c308f',
950: '#000000',
},
}SCSS
$custom: #3c308f; $custom-light: #7b69b1; $custom-dark: #000000;
JSON
{
"hex": "#3c308f",
"rgb": {
"r": 60,
"g": 48,
"b": 143
},
"hsl": {
"h": 247.579,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.38378,
"c": 0.15008,
"h": 282.4
},
"luminance": 0.05058
}Semantic roles & 50–950 ramp
primary
#3C308F
secondary
#ABB566
accent
#D94FC8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80