#5F7DE3#5F7DE3
#5F7DE3 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.7% C 0.158 H 269.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7DE3 |
|---|---|
| RGB | rgb(95, 125, 227) |
| HSL | hsl(226, 70%, 63%) |
| HSV | hsv(226, 58%, 89%) |
| CMYK | cmyk(58.1%, 44.9%, 0%, 11%) |
| CIE-LAB | lab(54.70, 19.46, -55.25) |
| CIE-LCH | lch(54.70, 58.57, 289.40°) |
| OKLab | oklab(61.66% -0.0025 -0.1575) |
| OKLCH | oklch(61.66% 0.158 269.1) |
| XYZ | xyz(25.9134, 22.6441, 75.6633) |
| Luminance | 0.2265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.66
Cornflower
#6A79F7
ΔE00 3.88
Lightish Blue
#3D7AFD
ΔE00 4.09
Cornflower Blue
#5170D7
ΔE00 4.87
Dodger Blue
#3E82FC
ΔE00 4.97
Clear Blue
#247AFD
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7DE3 #E3C55F
analogous
#5FBFE3 #5F7DE3 #835FE3
triadic
#5F7DE3 #E35F7D #7DE35F
tetradic
#5F7DE3 #E35FBF #E3C55F #5FE383
square
#5F7DE3 #E35FBF #E3C55F #5FE383
split-complementary
#5F7DE3 #E3835F #BFE35F
monochromatic
#1E3EAA #2B53DA #5F7DE3 #93A7EC #C7D2F5
Accessibility & contrast
On white
3.80
#5F7DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#5F7DE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7DE3
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7DE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7DE3 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E89E7
Deuteranopia (green-blind)
#3B7DE1
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5f7de3; /* rgb */ color: rgb(95, 125, 227); /* oklch */ color: oklch(61.7% 0.158 269.1);
Tailwind
colors: {
custom: {
50: '#96a2ec',
500: '#5f7de3',
950: '#000000',
},
}SCSS
$custom: #5f7de3; $custom-light: #96a2ec; $custom-dark: #000000;
JSON
{
"hex": "#5f7de3",
"rgb": {
"r": 95,
"g": 125,
"b": 227
},
"hsl": {
"h": 226.364,
"s": 70.213,
"l": 63.137
},
"oklch": {
"l": 0.61655,
"c": 0.15754,
"h": 269.1
},
"luminance": 0.22646
}Semantic roles & 50–950 ramp
primary
#5F7DE3
secondary
#E7DCB7
accent
#A713D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84