#5F75ED#5F75ED
#5F75ED is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.181 H 272.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75ED |
|---|---|
| RGB | rgb(95, 117, 237) |
| HSL | hsl(231, 80%, 65%) |
| HSV | hsv(231, 60%, 93%) |
| CMYK | cmyk(59.9%, 50.6%, 0%, 7.1%) |
| CIE-LAB | lab(53.24, 27.62, -63.19) |
| CIE-LCH | lch(53.24, 68.96, 293.61°) |
| OKLab | oklab(60.74% 0.0067 -0.181) |
| OKLCH | oklch(60.74% 0.181 272.1) |
| XYZ | xyz(26.3616, 21.2678, 82.8202) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.45
Cornflower Blue
#5170D7
ΔE00 4.10
Lightish Blue
#3D7AFD
ΔE00 4.74
Royal Blue
#4169E1
ΔE00 5.67
Soft Blue
#6488EA
ΔE00 6.29
Clear Blue
#247AFD
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75ED #EDD75F
analogous
#5FBCED #5F75ED #905FED
triadic
#5F75ED #ED5F75 #75ED5F
tetradic
#5F75ED #ED5FBC #EDD75F #5FED90
square
#5F75ED #ED5FBC #EDD75F #5FED90
split-complementary
#5F75ED #ED905F #BCED5F
monochromatic
#152FBC #2846E7 #5F75ED #96A4F3 #CDD4F9
Accessibility & contrast
On white
4.00
#5F75ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#5F75ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75ED
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75ED | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3186F1
Deuteranopia (green-blind)
#0779EB
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5f75ed; /* rgb */ color: rgb(95, 117, 237); /* oklch */ color: oklch(60.7% 0.181 272.1);
Tailwind
colors: {
custom: {
50: '#989cf3',
500: '#5f75ed',
950: '#000000',
},
}SCSS
$custom: #5f75ed; $custom-light: #989cf3; $custom-dark: #000000;
JSON
{
"hex": "#5f75ed",
"rgb": {
"r": 95,
"g": 117,
"b": 237
},
"hsl": {
"h": 230.704,
"s": 79.775,
"l": 65.098
},
"oklch": {
"l": 0.60738,
"c": 0.18108,
"h": 272.1
},
"luminance": 0.2127
}Semantic roles & 50–950 ramp
primary
#5F75ED
secondary
#ECE5BC
accent
#BB09DC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85