#5F7EE5#5F7EE5
#5F7EE5 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 62.0% C 0.159 H 268.8°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7EE5 |
|---|---|
| RGB | rgb(95, 126, 229) |
| HSL | hsl(226, 72%, 64%) |
| HSV | hsv(226, 59%, 90%) |
| CMYK | cmyk(58.5%, 45%, 0%, 10.2%) |
| CIE-LAB | lab(55.08, 19.51, -55.76) |
| CIE-LCH | lch(55.08, 59.07, 289.28°) |
| OKLab | oklab(61.98% -0.0033 -0.159) |
| OKLCH | oklch(61.98% 0.159 268.8) |
| XYZ | xyz(26.3183, 23.0096, 77.1680) |
| Luminance | 0.2301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.28
Cornflower
#6A79F7
ΔE00 3.89
Lightish Blue
#3D7AFD
ΔE00 3.97
Dodger Blue
#3E82FC
ΔE00 4.68
Cornflower Blue
#5170D7
ΔE00 5.24
Clear Blue
#247AFD
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7EE5 #E5C65F
analogous
#5FC1E5 #5F7EE5 #835FE5
triadic
#5F7EE5 #E55F7E #7EE55F
tetradic
#5F7EE5 #E55FC1 #E5C65F #5FE583
square
#5F7EE5 #E55FC1 #E5C65F #5FE583
split-complementary
#5F7EE5 #E5835F #C1E55F
monochromatic
#1C3EAD #2A54DC #5F7EE5 #94A8EE #C8D3F6
Accessibility & contrast
On white
3.75
#5F7EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#5F7EE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7EE5
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7EE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7EE5 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8AE9
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5f7ee5; /* rgb */ color: rgb(95, 126, 229); /* oklch */ color: oklch(62.0% 0.159 268.8);
Tailwind
colors: {
custom: {
50: '#97a3ee',
500: '#5f7ee5',
950: '#000000',
},
}SCSS
$custom: #5f7ee5; $custom-light: #97a3ee; $custom-dark: #000000;
JSON
{
"hex": "#5f7ee5",
"rgb": {
"r": 95,
"g": 126,
"b": 229
},
"hsl": {
"h": 226.119,
"s": 72.043,
"l": 63.529
},
"oklch": {
"l": 0.61981,
"c": 0.15905,
"h": 268.8
},
"luminance": 0.23012
}Semantic roles & 50–950 ramp
primary
#5F7EE5
secondary
#E8DDB8
accent
#A711D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84