#5F75EB#5F75EB
#5F75EB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.178 H 272.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75EB |
|---|---|
| RGB | rgb(95, 117, 235) |
| HSL | hsl(231, 78%, 65%) |
| HSV | hsv(231, 60%, 92%) |
| CMYK | cmyk(59.6%, 50.2%, 0%, 7.8%) |
| CIE-LAB | lab(53.11, 26.96, -62.27) |
| CIE-LCH | lch(53.11, 67.86, 293.41°) |
| OKLab | oklab(60.6% 0.0065 -0.1783) |
| OKLCH | oklch(60.6% 0.178 272.1) |
| XYZ | xyz(26.0710, 21.1515, 81.2899) |
| Luminance | 0.2115 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.62
Cornflower Blue
#5170D7
ΔE00 3.90
Lightish Blue
#3D7AFD
ΔE00 4.79
Royal Blue
#4169E1
ΔE00 5.56
Soft Blue
#6488EA
ΔE00 6.29
Clear Blue
#247AFD
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75EB #EBD55F
analogous
#5FBBEB #5F75EB #8F5FEB
triadic
#5F75EB #EB5F75 #75EB5F
tetradic
#5F75EB #EB5FBB #EBD55F #5FEB8F
square
#5F75EB #EB5FBB #EBD55F #5FEB8F
split-complementary
#5F75EB #EB8F5F #BBEB5F
monochromatic
#1730B9 #2946E4 #5F75EB #95A4F2 #CCD3F9
Accessibility & contrast
On white
4.01
#5F75EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#5F75EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75EB
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75EB | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#1179E9
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5f75eb; /* rgb */ color: rgb(95, 117, 235); /* oklch */ color: oklch(60.6% 0.178 272.1);
Tailwind
colors: {
custom: {
50: '#989cf2',
500: '#5f75eb',
950: '#000000',
},
}SCSS
$custom: #5f75eb; $custom-light: #989cf2; $custom-dark: #000000;
JSON
{
"hex": "#5f75eb",
"rgb": {
"r": 95,
"g": 117,
"b": 235
},
"hsl": {
"h": 230.571,
"s": 77.778,
"l": 64.706
},
"oklch": {
"l": 0.60602,
"c": 0.17839,
"h": 272.1
},
"luminance": 0.21154
}Semantic roles & 50–950 ramp
primary
#5F75EB
secondary
#EBE3BB
accent
#BA0BDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85