#3F52B5#3F52B5
#3F52B5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.158 H 271.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3F52B5 |
|---|---|
| RGB | rgb(63, 82, 181) |
| HSL | hsl(230, 48%, 48%) |
| HSV | hsv(230, 65%, 71%) |
| CMYK | cmyk(65.2%, 54.7%, 0%, 29%) |
| CIE-LAB | lab(38.60, 24.93, -54.86) |
| CIE-LCH | lch(38.60, 60.26, 294.44°) |
| OKLab | oklab(48.02% 0.003 -0.1576) |
| OKLCH | oklch(48.02% 0.158 271.1) |
| XYZ | xyz(13.4049, 10.4263, 45.0132) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.44
Blue Blue
#2242C7
ΔE00 5.54
Cobalt
#0047AB
ΔE00 5.73
Warm Blue
#4B57DB
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 6.29
Iris
#6258C4
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F52B5 #B5A23F
analogous
#3F8DB5 #3F52B5 #673FB5
triadic
#3F52B5 #B53F52 #52B53F
tetradic
#3F52B5 #B53F8D #B5A23F #3FB567
square
#3F52B5 #B53F8D #B5A23F #3FB567
split-complementary
#3F52B5 #B5673F #8DB53F
monochromatic
#1F295A #2F3D88 #3F52B5 #6777CA #94A0DA
Accessibility & contrast
On white
6.81
#3F52B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3F52B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F52B5
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F52B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F52B5 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0660B8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3f52b5; /* rgb */ color: rgb(63, 82, 181); /* oklch */ color: oklch(48.0% 0.158 271.1);
Tailwind
colors: {
custom: {
50: '#8182cc',
500: '#3f52b5',
950: '#000000',
},
}SCSS
$custom: #3f52b5; $custom-light: #8182cc; $custom-dark: #000000;
JSON
{
"hex": "#3f52b5",
"rgb": {
"r": 63,
"g": 82,
"b": 181
},
"hsl": {
"h": 230.339,
"s": 48.361,
"l": 47.843
},
"oklch": {
"l": 0.48017,
"c": 0.15764,
"h": 271.1
},
"luminance": 0.10428
}Semantic roles & 50–950 ramp
primary
#3F52B5
secondary
#C5BC8A
accent
#C250D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A13
muted
#7C7C82