#3F52CB#3F52CB
#3F52CB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.187 H 271.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3F52CB |
|---|---|
| RGB | rgb(63, 82, 203) |
| HSL | hsl(232, 57%, 52%) |
| HSV | hsv(232, 69%, 80%) |
| CMYK | cmyk(69%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(40.25, 32.72, -65.01) |
| CIE-LCH | lch(40.25, 72.78, 296.72°) |
| OKLab | oklab(49.77% 0.0035 -0.1875) |
| OKLCH | oklch(49.77% 0.187 271.1) |
| XYZ | xyz(15.8430, 11.4016, 57.8541) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.12
Blue Blue
#2242C7
ΔE00 5.03
Blue (survey)
#0343DF
ΔE00 5.07
Iris
#6258C4
ΔE00 5.42
Sapphire
#0F52BA
ΔE00 5.56
Azul
#1D5DEC
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F52CB #CBB83F
analogous
#3F98CB #3F52CB #723FCB
triadic
#3F52CB #CB3F52 #52CB3F
tetradic
#3F52CB #CB3F98 #CBB83F #3FCB72
square
#3F52CB #CB3F98 #CBB83F #3FCB72
split-complementary
#3F52CB #CB723F #98CB3F
monochromatic
#1F2A71 #2C3CA1 #3F52CB #6F7DD8 #9FA9E5
Accessibility & contrast
On white
6.40
#3F52CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#3F52CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F52CB
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F52CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F52CB | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3f52cb; /* rgb */ color: rgb(63, 82, 203); /* oklch */ color: oklch(49.8% 0.187 271.1);
Tailwind
colors: {
custom: {
50: '#8582dc',
500: '#3f52cb',
950: '#000000',
},
}SCSS
$custom: #3f52cb; $custom-light: #8582dc; $custom-dark: #000000;
JSON
{
"hex": "#3f52cb",
"rgb": {
"r": 63,
"g": 82,
"b": 203
},
"hsl": {
"h": 231.857,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.4977,
"c": 0.18749,
"h": 271.1
},
"luminance": 0.11403
}Semantic roles & 50–950 ramp
primary
#3F52CB
secondary
#D1C994
accent
#CC47E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83