#3F5FC7#3F5FC7
#3F5FC7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.0% C 0.166 H 267.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5FC7 |
|---|---|
| RGB | rgb(63, 95, 199) |
| HSL | hsl(226, 55%, 51%) |
| HSV | hsv(226, 68%, 78%) |
| CMYK | cmyk(68.3%, 52.3%, 0%, 22%) |
| CIE-LAB | lab(43.31, 23.00, -57.74) |
| CIE-LCH | lch(43.31, 62.15, 291.72°) |
| OKLab | oklab(51.97% -0.0074 -0.1659) |
| OKLCH | oklch(51.97% 0.166 267.4) |
| XYZ | xyz(16.4473, 13.3631, 55.7343) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.42
Royal Blue
#4169E1
ΔE00 4.75
Warm Blue
#4B57DB
ΔE00 4.77
Denim
#1560BD
ΔE00 5.07
French Blue
#436BAD
ΔE00 5.54
Sapphire
#0F52BA
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5FC7 #C7A73F
analogous
#3FA3C7 #3F5FC7 #633FC7
triadic
#3F5FC7 #C73F5F #5FC73F
tetradic
#3F5FC7 #C73FA3 #C7A73F #3FC763
square
#3F5FC7 #C73FA3 #C7A73F #3FC763
split-complementary
#3F5FC7 #C7633F #A3C73F
monochromatic
#20326C #2D479B #3F5FC7 #6E86D5 #9EAEE3
Accessibility & contrast
On white
5.72
#3F5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#3F5FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5FC7
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5FC7 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B6DCB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3f5fc7; /* rgb */ color: rgb(63, 95, 199); /* oklch */ color: oklch(52.0% 0.166 267.4);
Tailwind
colors: {
custom: {
50: '#848bd9',
500: '#3f5fc7',
950: '#000000',
},
}SCSS
$custom: #3f5fc7; $custom-light: #848bd9; $custom-dark: #000000;
JSON
{
"hex": "#3f5fc7",
"rgb": {
"r": 63,
"g": 95,
"b": 199
},
"hsl": {
"h": 225.882,
"s": 54.839,
"l": 51.373
},
"oklch": {
"l": 0.51968,
"c": 0.16606,
"h": 267.4
},
"luminance": 0.13365
}Semantic roles & 50–950 ramp
primary
#3F5FC7
secondary
#CFC193
accent
#BB4ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83