#3E30B4#3E30B4
#3E30B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 42.0% C 0.197 H 278.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #3E30B4 |
|---|---|
| RGB | rgb(62, 48, 180) |
| HSL | hsl(246, 58%, 45%) |
| HSV | hsv(246, 73%, 71%) |
| CMYK | cmyk(65.6%, 73.3%, 0%, 29.4%) |
| CIE-LAB | lab(30.48, 45.37, -67.53) |
| CIE-LCH | lch(30.48, 81.35, 303.90°) |
| OKLab | oklab(42.03% 0.029 -0.195) |
| OKLCH | oklch(42.03% 0.197 278.4) |
| XYZ | xyz(11.2791, 6.4324, 43.8184) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.52
Indigo Blue
#3A18B1
ΔE00 4.59
Blue With A Hint Of Purple
#533CC6
ΔE00 4.70
Ocean Blue
#4F42B5
ΔE00 4.90
Blurple
#5539CC
ΔE00 5.03
Purple Blue
#5D21D0
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E30B4 #A6B430
analogous
#3064B4 #3E30B4 #8030B4
triadic
#3E30B4 #B43E30 #30B43E
tetradic
#3E30B4 #B43064 #A6B430 #30B480
square
#3E30B4 #B43064 #A6B430 #30B480
split-complementary
#3E30B4 #B48030 #64B430
monochromatic
#1D1653 #2D2384 #3E30B4 #5E51D1 #8B81DD
Accessibility & contrast
On white
9.18
#3E30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#3E30B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E30B4
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E30B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E30B4 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #3e30b4; /* rgb */ color: rgb(62, 48, 180); /* oklch */ color: oklch(42.0% 0.197 278.4);
Tailwind
colors: {
custom: {
50: '#836acc',
500: '#3e30b4',
950: '#000000',
},
}SCSS
$custom: #3e30b4; $custom-light: #836acc; $custom-dark: #000000;
JSON
{
"hex": "#3e30b4",
"rgb": {
"r": 62,
"g": 48,
"b": 180
},
"hsl": {
"h": 246.364,
"s": 57.895,
"l": 44.706
},
"oklch": {
"l": 0.42031,
"c": 0.1971,
"h": 278.4
},
"luminance": 0.06433
}Semantic roles & 50–950 ramp
primary
#3E30B4
secondary
#BEC679
accent
#E147D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82