#3F52B2#3F52B2
#3F52B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.153 H 271.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3F52B2 |
|---|---|
| RGB | rgb(63, 82, 178) |
| HSL | hsl(230, 48%, 47%) |
| HSV | hsv(230, 65%, 70%) |
| CMYK | cmyk(64.6%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(38.38, 23.87, -53.43) |
| CIE-LCH | lch(38.38, 58.52, 294.07°) |
| OKLab | oklab(47.79% 0.0028 -0.1534) |
| OKLCH | oklch(47.79% 0.153 271) |
| XYZ | xyz(13.1004, 10.3045, 43.4095) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.43
Cobalt
#0047AB
ΔE00 5.60
Blue Blue
#2242C7
ΔE00 5.76
Denim Blue
#3B5B92
ΔE00 6.16
Warm Blue
#4B57DB
ΔE00 6.21
Ocean Blue
#4F42B5
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F52B2 #B29F3F
analogous
#3F8CB2 #3F52B2 #663FB2
triadic
#3F52B2 #B23F52 #52B23F
tetradic
#3F52B2 #B23F8C #B29F3F #3FB266
square
#3F52B2 #B23F8C #B29F3F #3FB266
split-complementary
#3F52B2 #B2663F #8CB23F
monochromatic
#1F2858 #2F3D85 #3F52B2 #6676C9 #939ED9
Accessibility & contrast
On white
6.86
#3F52B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#3F52B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F52B2
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F52B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F52B2 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3f52b2; /* rgb */ color: rgb(63, 82, 178); /* oklch */ color: oklch(47.8% 0.153 271.0);
Tailwind
colors: {
custom: {
50: '#8082ca',
500: '#3f52b2',
950: '#000000',
},
}SCSS
$custom: #3f52b2; $custom-light: #8082ca; $custom-dark: #000000;
JSON
{
"hex": "#3f52b2",
"rgb": {
"r": 63,
"g": 82,
"b": 178
},
"hsl": {
"h": 230.087,
"s": 47.718,
"l": 47.255
},
"oklch": {
"l": 0.47789,
"c": 0.15346,
"h": 271
},
"luminance": 0.10306
}Semantic roles & 50–950 ramp
primary
#3F52B2
secondary
#C4BA89
accent
#C150D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82