#5F75E7#5F75E7
#5F75E7 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.3% C 0.173 H 272.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75E7 |
|---|---|
| RGB | rgb(95, 117, 231) |
| HSL | hsl(230, 74%, 64%) |
| HSV | hsv(230, 59%, 91%) |
| CMYK | cmyk(58.9%, 49.4%, 0%, 9.4%) |
| CIE-LAB | lab(52.87, 25.65, -60.44) |
| CIE-LCH | lch(52.87, 65.65, 292.99°) |
| OKLab | oklab(60.33% 0.0061 -0.1729) |
| OKLCH | oklch(60.33% 0.173 272) |
| XYZ | xyz(25.4996, 20.9230, 78.2806) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.01
Cornflower Blue
#5170D7
ΔE00 3.52
Lightish Blue
#3D7AFD
ΔE00 4.93
Royal Blue
#4169E1
ΔE00 5.37
Soft Blue
#6488EA
ΔE00 6.32
Clear Blue
#247AFD
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75E7 #E7D15F
analogous
#5FB9E7 #5F75E7 #8D5FE7
triadic
#5F75E7 #E75F75 #75E75F
tetradic
#5F75E7 #E75FB9 #E7D15F #5FE78D
square
#5F75E7 #E75FB9 #E7D15F #5FE78D
split-complementary
#5F75E7 #E78D5F #B9E75F
monochromatic
#1B33B1 #2A47DF #5F75E7 #94A3EF #C9D1F7
Accessibility & contrast
On white
4.05
#5F75E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#5F75E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75E7
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75E7 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3984EB
Deuteranopia (green-blind)
#1E79E5
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f75e7; /* rgb */ color: rgb(95, 117, 231); /* oklch */ color: oklch(60.3% 0.173 272.0);
Tailwind
colors: {
custom: {
50: '#979cef',
500: '#5f75e7',
950: '#000000',
},
}SCSS
$custom: #5f75e7; $custom-light: #979cef; $custom-dark: #000000;
JSON
{
"hex": "#5f75e7",
"rgb": {
"r": 95,
"g": 117,
"b": 231
},
"hsl": {
"h": 230.294,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.60333,
"c": 0.17298,
"h": 272
},
"luminance": 0.20925
}Semantic roles & 50–950 ramp
primary
#5F75E7
secondary
#E9E1B9
accent
#B60FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84