#5F75F4#5F75F4
#5F75F4 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.2% C 0.190 H 272.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75F4 |
|---|---|
| RGB | rgb(95, 117, 244) |
| HSL | hsl(231, 87%, 66%) |
| HSV | hsv(231, 61%, 96%) |
| CMYK | cmyk(61.1%, 52%, 0%, 4.3%) |
| CIE-LAB | lab(53.69, 29.92, -66.36) |
| CIE-LCH | lch(53.69, 72.79, 294.27°) |
| OKLab | oklab(61.22% 0.0072 -0.1903) |
| OKLCH | oklch(61.22% 0.19 272.2) |
| XYZ | xyz(27.4043, 21.6849, 88.3119) |
| Luminance | 0.2169 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.96
Lightish Blue
#3D7AFD
ΔE00 4.67
Cornflower Blue
#5170D7
ΔE00 4.84
Royal Blue
#4169E1
ΔE00 6.13
Soft Blue
#6488EA
ΔE00 6.36
Clear Blue
#247AFD
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75F4 #F4DE5F
analogous
#5FC0F4 #5F75F4 #945FF4
triadic
#5F75F4 #F45F75 #75F45F
tetradic
#5F75F4 #F45FC0 #F4DE5F #5FF494
square
#5F75F4 #F45FC0 #F4DE5F #5FF494
split-complementary
#5F75F4 #F4945F #C0F45F
monochromatic
#0E2ACB #2644F0 #5F75F4 #98A6F8 #D2D8FC
Accessibility & contrast
On white
3.93
#5F75F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#5F75F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75F4
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75F4 | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2687F8
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f75f4; /* rgb */ color: rgb(95, 117, 244); /* oklch */ color: oklch(61.2% 0.190 272.2);
Tailwind
colors: {
custom: {
50: '#999cf8',
500: '#5f75f4',
950: '#000000',
},
}SCSS
$custom: #5f75f4; $custom-light: #999cf8; $custom-dark: #000000;
JSON
{
"hex": "#5f75f4",
"rgb": {
"r": 95,
"g": 117,
"b": 244
},
"hsl": {
"h": 231.141,
"s": 87.135,
"l": 66.471
},
"oklch": {
"l": 0.6122,
"c": 0.19044,
"h": 272.2
},
"luminance": 0.21687
}Semantic roles & 50–950 ramp
primary
#5F75F4
secondary
#F0E8BF
accent
#C202E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85