#3F5BD6#3F5BD6
#3F5BD6 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.191 H 269.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5BD6 |
|---|---|
| RGB | rgb(63, 91, 214) |
| HSL | hsl(229, 65%, 54%) |
| HSV | hsv(229, 71%, 84%) |
| CMYK | cmyk(70.6%, 57.5%, 0%, 16.1%) |
| CIE-LAB | lab(43.35, 30.92, -66.29) |
| CIE-LCH | lch(43.35, 73.14, 295.00°) |
| OKLab | oklab(52.34% -0.0033 -0.1911) |
| OKLCH | oklch(52.34% 0.191 269) |
| XYZ | xyz(17.9244, 13.3922, 65.2456) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.44
Azul
#1D5DEC
ΔE00 3.12
Royal Blue
#4169E1
ΔE00 4.93
Electric Blue
#0652FF
ΔE00 5.08
Dark Periwinkle
#665FD1
ΔE00 5.75
Bright Blue
#0165FC
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5BD6 #D6BA3F
analogous
#3FA7D6 #3F5BD6 #6F3FD6
triadic
#3F5BD6 #D63F5B #5BD63F
tetradic
#3F5BD6 #D63FA7 #D6BA3F #3FD66F
square
#3F5BD6 #D63FA7 #D6BA3F #3FD66F
split-complementary
#3F5BD6 #D66F3F #A7D63F
monochromatic
#1B2E7F #2640B2 #3F5BD6 #7186E1 #A4B1EC
Accessibility & contrast
On white
5.71
#3F5BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#3F5BD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5BD6
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5BD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5BD6 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3f5bd6; /* rgb */ color: rgb(63, 91, 214); /* oklch */ color: oklch(52.3% 0.191 269.0);
Tailwind
colors: {
custom: {
50: '#8789e4',
500: '#3f5bd6',
950: '#000000',
},
}SCSS
$custom: #3f5bd6; $custom-light: #8789e4; $custom-dark: #000000;
JSON
{
"hex": "#3f5bd6",
"rgb": {
"r": 63,
"g": 91,
"b": 214
},
"hsl": {
"h": 228.874,
"s": 64.807,
"l": 54.314
},
"oklch": {
"l": 0.52342,
"c": 0.19115,
"h": 269
},
"luminance": 0.13394
}Semantic roles & 50–950 ramp
primary
#3F5BD6
secondary
#D8CD98
accent
#C940E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84