#5F7AE7#5F7AE7
#5F7AE7 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.167 H 270.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7AE7 |
|---|---|
| RGB | rgb(95, 122, 231) |
| HSL | hsl(228, 74%, 64%) |
| HSV | hsv(228, 59%, 91%) |
| CMYK | cmyk(58.9%, 47.2%, 0%, 9.4%) |
| CIE-LAB | lab(54.15, 22.60, -58.37) |
| CIE-LCH | lch(54.15, 62.59, 291.16°) |
| OKLab | oklab(61.31% 0.0011 -0.1667) |
| OKLCH | oklch(61.31% 0.167 270.4) |
| XYZ | xyz(26.0978, 22.1194, 78.4800) |
| Luminance | 0.2212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.04
Lightish Blue
#3D7AFD
ΔE00 4.11
Cornflower Blue
#5170D7
ΔE00 4.35
Soft Blue
#6488EA
ΔE00 4.60
Dodger Blue
#3E82FC
ΔE00 5.57
Clear Blue
#247AFD
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7AE7 #E7CC5F
analogous
#5FBEE7 #5F7AE7 #885FE7
triadic
#5F7AE7 #E75F7A #7AE75F
tetradic
#5F7AE7 #E75FBE #E7CC5F #5FE788
square
#5F7AE7 #E75FBE #E7CC5F #5FE788
split-complementary
#5F7AE7 #E7885F #BEE75F
monochromatic
#1B38B1 #2A4EDF #5F7AE7 #94A6EF #C9D2F7
Accessibility & contrast
On white
3.87
#5F7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#5F7AE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7AE7
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7AE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7AE7 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4488EB
Deuteranopia (green-blind)
#2E7CE5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5f7ae7; /* rgb */ color: rgb(95, 122, 231); /* oklch */ color: oklch(61.3% 0.167 270.4);
Tailwind
colors: {
custom: {
50: '#97a0ef',
500: '#5f7ae7',
950: '#000000',
},
}SCSS
$custom: #5f7ae7; $custom-light: #97a0ef; $custom-dark: #000000;
JSON
{
"hex": "#5f7ae7",
"rgb": {
"r": 95,
"g": 122,
"b": 231
},
"hsl": {
"h": 228.088,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.61311,
"c": 0.16673,
"h": 270.4
},
"luminance": 0.22121
}Semantic roles & 50–950 ramp
primary
#5F7AE7
secondary
#E9DFB9
accent
#AF0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84