#3F5BC7#3F5BC7
#3F5BC7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.171 H 268.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5BC7 |
|---|---|
| RGB | rgb(63, 91, 199) |
| HSL | hsl(228, 55%, 51%) |
| HSV | hsv(228, 68%, 78%) |
| CMYK | cmyk(68.3%, 54.3%, 0%, 22%) |
| CIE-LAB | lab(42.25, 25.56, -59.45) |
| CIE-LCH | lch(42.25, 64.71, 293.27°) |
| OKLab | oklab(51.17% -0.0039 -0.171) |
| OKLCH | oklch(51.17% 0.171 268.7) |
| XYZ | xyz(16.0962, 12.6609, 55.6173) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.93
Azul
#1D5DEC
ΔE00 4.58
Sapphire
#0F52BA
ΔE00 5.11
Royal Blue
#4169E1
ΔE00 5.76
Denim
#1560BD
ΔE00 5.82
Iris
#6258C4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5BC7 #C7AB3F
analogous
#3F9FC7 #3F5BC7 #673FC7
triadic
#3F5BC7 #C73F5B #5BC73F
tetradic
#3F5BC7 #C73F9F #C7AB3F #3FC767
square
#3F5BC7 #C73F9F #C7AB3F #3FC767
split-complementary
#3F5BC7 #C7673F #9FC73F
monochromatic
#202F6C #2D449B #3F5BC7 #6E83D5 #9EACE3
Accessibility & contrast
On white
5.94
#3F5BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#3F5BC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5BC7
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5BC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5BC7 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026ACB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3f5bc7; /* rgb */ color: rgb(63, 91, 199); /* oklch */ color: oklch(51.2% 0.171 268.7);
Tailwind
colors: {
custom: {
50: '#8489d9',
500: '#3f5bc7',
950: '#000000',
},
}SCSS
$custom: #3f5bc7; $custom-light: #8489d9; $custom-dark: #000000;
JSON
{
"hex": "#3f5bc7",
"rgb": {
"r": 63,
"g": 91,
"b": 199
},
"hsl": {
"h": 227.647,
"s": 54.839,
"l": 51.373
},
"oklch": {
"l": 0.5117,
"c": 0.17105,
"h": 268.7
},
"luminance": 0.12662
}Semantic roles & 50–950 ramp
primary
#3F5BC7
secondary
#CFC393
accent
#C04ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83