#5F75F5#5F75F5
#5F75F5 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.3% C 0.192 H 272.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75F5 |
|---|---|
| RGB | rgb(95, 117, 245) |
| HSL | hsl(231, 88%, 67%) |
| HSV | hsv(231, 61%, 96%) |
| CMYK | cmyk(61.2%, 52.2%, 0%, 3.9%) |
| CIE-LAB | lab(53.76, 30.25, -66.81) |
| CIE-LCH | lch(53.76, 73.34, 294.36°) |
| OKLab | oklab(61.29% 0.0073 -0.1916) |
| OKLCH | oklch(61.29% 0.192 272.2) |
| XYZ | xyz(27.5565, 21.7457, 89.1137) |
| Luminance | 0.2175 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.92
Lightish Blue
#3D7AFD
ΔE00 4.67
Cornflower Blue
#5170D7
ΔE00 4.95
Royal Blue
#4169E1
ΔE00 6.20
Soft Blue
#6488EA
ΔE00 6.38
Clear Blue
#247AFD
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75F5 #F5DF5F
analogous
#5FC0F5 #5F75F5 #945FF5
triadic
#5F75F5 #F55F75 #75F55F
tetradic
#5F75F5 #F55FC0 #F5DF5F #5FF594
square
#5F75F5 #F55FC0 #F5DF5F #5FF594
split-complementary
#5F75F5 #F5945F #C0F55F
monochromatic
#0D29CD #2543F1 #5F75F5 #99A7F9 #D2D8FC
Accessibility & contrast
On white
3.93
#5F75F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#5F75F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75F5
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75F5 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2487F9
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f75f5; /* rgb */ color: rgb(95, 117, 245); /* oklch */ color: oklch(61.3% 0.192 272.2);
Tailwind
colors: {
custom: {
50: '#9a9cf9',
500: '#5f75f5',
950: '#000000',
},
}SCSS
$custom: #5f75f5; $custom-light: #9a9cf9; $custom-dark: #000000;
JSON
{
"hex": "#5f75f5",
"rgb": {
"r": 95,
"g": 117,
"b": 245
},
"hsl": {
"h": 231.2,
"s": 88.235,
"l": 66.667
},
"oklch": {
"l": 0.6129,
"c": 0.19176,
"h": 272.2
},
"luminance": 0.21748
}Semantic roles & 50–950 ramp
primary
#5F75F5
secondary
#F0E9C0
accent
#C301E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85