#3C30AB#3C30AB
#3C30AB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.186 H 278.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3C30AB |
|---|---|
| RGB | rgb(60, 48, 171) |
| HSL | hsl(246, 56%, 43%) |
| HSV | hsv(246, 72%, 67%) |
| CMYK | cmyk(64.9%, 71.9%, 0%, 32.9%) |
| CIE-LAB | lab(29.45, 42.24, -63.85) |
| CIE-LCH | lch(29.45, 76.56, 303.49°) |
| OKLab | oklab(41% 0.028 -0.1843) |
| OKLCH | oklch(41% 0.186 278.6) |
| XYZ | xyz(10.2688, 6.0140, 39.1399) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 4.66
Ocean Blue
#4F42B5
ΔE00 5.26
Blue With A Hint Of Purple
#533CC6
ΔE00 5.65
Blurple
#5539CC
ΔE00 6.11
Blueberry
#464196
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C30AB #9FAB30
analogous
#3061AB #3C30AB #7A30AB
triadic
#3C30AB #AB3C30 #30AB3C
tetradic
#3C30AB #AB3061 #9FAB30 #30AB7A
square
#3C30AB #AB3061 #9FAB30 #30AB7A
split-complementary
#3C30AB #AB7A30 #61AB30
monochromatic
#1A154B #2B237B #3C30AB #584CCD #857BDA
Accessibility & contrast
On white
9.53
#3C30AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#3C30AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C30AB
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C30AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C30AB | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3c30ab; /* rgb */ color: rgb(60, 48, 171); /* oklch */ color: oklch(41.0% 0.186 278.6);
Tailwind
colors: {
custom: {
50: '#806ac5',
500: '#3c30ab',
950: '#000000',
},
}SCSS
$custom: #3c30ab; $custom-light: #806ac5; $custom-dark: #000000;
JSON
{
"hex": "#3c30ab",
"rgb": {
"r": 60,
"g": 48,
"b": 171
},
"hsl": {
"h": 245.854,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.40995,
"c": 0.1864,
"h": 278.6
},
"luminance": 0.06015
}Semantic roles & 50–950 ramp
primary
#3C30AB
secondary
#BBC374
accent
#DF48D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82