#3A30B2#3A30B2
#3A30B2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.196 H 277.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3A30B2 |
|---|---|
| RGB | rgb(58, 48, 178) |
| HSL | hsl(245, 58%, 44%) |
| HSV | hsv(245, 73%, 70%) |
| CMYK | cmyk(67.4%, 73%, 0%, 30.2%) |
| CIE-LAB | lab(29.98, 44.26, -67.17) |
| CIE-LCH | lch(29.98, 80.44, 303.38°) |
| OKLab | oklab(41.54% 0.024 -0.194) |
| OKLCH | oklch(41.54% 0.196 277.1) |
| XYZ | xyz(10.8351, 6.2269, 42.7418) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.04
Indigo Blue
#3A18B1
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 5.14
Blue With A Hint Of Purple
#533CC6
ΔE00 5.15
Blurple
#5539CC
ΔE00 5.52
Blue Blue
#2242C7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A30B2 #A8B230
analogous
#3067B2 #3A30B2 #7B30B2
triadic
#3A30B2 #B23A30 #30B23A
tetradic
#3A30B2 #B23067 #A8B230 #30B27B
square
#3A30B2 #B23067 #A8B230 #30B27B
split-complementary
#3A30B2 #B27B30 #67B230
monochromatic
#1B1652 #2A2382 #3A30B2 #5950D0 #8780DD
Accessibility & contrast
On white
9.35
#3A30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#3A30B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A30B2
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A30B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A30B2 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #3a30b2; /* rgb */ color: rgb(58, 48, 178); /* oklch */ color: oklch(41.5% 0.196 277.1);
Tailwind
colors: {
custom: {
50: '#816aca',
500: '#3a30b2',
950: '#000000',
},
}SCSS
$custom: #3a30b2; $custom-light: #816aca; $custom-dark: #000000;
JSON
{
"hex": "#3a30b2",
"rgb": {
"r": 58,
"g": 48,
"b": 178
},
"hsl": {
"h": 244.615,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.41539,
"c": 0.19551,
"h": 277.1
},
"luminance": 0.06228
}Semantic roles & 50–950 ramp
primary
#3A30B2
secondary
#C0C678
accent
#E147D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82