#5F7BE7#5F7BE7
#5F7BE7 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.5% C 0.165 H 270.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7BE7 |
|---|---|
| RGB | rgb(95, 123, 231) |
| HSL | hsl(228, 74%, 64%) |
| HSV | hsv(228, 59%, 91%) |
| CMYK | cmyk(58.9%, 46.8%, 0%, 9.4%) |
| CIE-LAB | lab(54.41, 21.99, -57.95) |
| CIE-LCH | lch(54.41, 61.98, 290.78°) |
| OKLab | oklab(61.51% 0.0001 -0.1655) |
| OKLCH | oklch(61.51% 0.165 270) |
| XYZ | xyz(26.2213, 22.3662, 78.5211) |
| Luminance | 0.2237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.17
Lightish Blue
#3D7AFD
ΔE00 4.01
Soft Blue
#6488EA
ΔE00 4.26
Cornflower Blue
#5170D7
ΔE00 4.58
Dodger Blue
#3E82FC
ΔE00 5.32
Clear Blue
#247AFD
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7BE7 #E7CB5F
analogous
#5FBFE7 #5F7BE7 #875FE7
triadic
#5F7BE7 #E75F7B #7BE75F
tetradic
#5F7BE7 #E75FBF #E7CB5F #5FE787
square
#5F7BE7 #E75FBF #E7CB5F #5FE787
split-complementary
#5F7BE7 #E7875F #BFE75F
monochromatic
#1B3AB1 #2A4FDF #5F7BE7 #94A7EF #C9D3F7
Accessibility & contrast
On white
3.84
#5F7BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#5F7BE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7BE7
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7BE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7BE7 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4788EB
Deuteranopia (green-blind)
#317CE5
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5f7be7; /* rgb */ color: rgb(95, 123, 231); /* oklch */ color: oklch(61.5% 0.165 270.0);
Tailwind
colors: {
custom: {
50: '#97a0ef',
500: '#5f7be7',
950: '#000000',
},
}SCSS
$custom: #5f7be7; $custom-light: #97a0ef; $custom-dark: #000000;
JSON
{
"hex": "#5f7be7",
"rgb": {
"r": 95,
"g": 123,
"b": 231
},
"hsl": {
"h": 227.647,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.61509,
"c": 0.16549,
"h": 270
},
"luminance": 0.22368
}Semantic roles & 50–950 ramp
primary
#5F7BE7
secondary
#E9DFB9
accent
#AD0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84