#5F74FA#5F74FA
#5F74FA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.5% C 0.200 H 272.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5F74FA |
|---|---|
| RGB | rgb(95, 116, 250) |
| HSL | hsl(232, 94%, 68%) |
| HSV | hsv(232, 62%, 98%) |
| CMYK | cmyk(62%, 53.6%, 0%, 2%) |
| CIE-LAB | lab(53.84, 32.51, -69.45) |
| CIE-LCH | lch(53.84, 76.68, 295.08°) |
| OKLab | oklab(61.46% 0.0085 -0.1994) |
| OKLCH | oklch(61.46% 0.2 272.4) |
| XYZ | xyz(28.2143, 21.8234, 93.1494) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.97
Lightish Blue
#3D7AFD
ΔE00 4.94
Cornflower Blue
#5170D7
ΔE00 5.45
Royal Blue
#4169E1
ΔE00 6.45
Mediumslateblue
#7B68EE
ΔE00 6.48
Clear Blue
#247AFD
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F74FA #FAE55F
analogous
#5FC1FA #5F74FA #975FFA
triadic
#5F74FA #FA5F74 #74FA5F
tetradic
#5F74FA #FA5FC1 #FAE55F #5FFA97
square
#5F74FA #FA5FC1 #FAE55F #5FFA97
split-complementary
#5F74FA #FA975F #C1FA5F
monochromatic
#0723D8 #2440F8 #5F74FA #9AA8FC #D6DBFE
Accessibility & contrast
On white
3.91
#5F74FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#5F74FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F74FA
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F74FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F74FA | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1188FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#0094AC
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5f74fa; /* rgb */ color: rgb(95, 116, 250); /* oklch */ color: oklch(61.5% 0.200 272.4);
Tailwind
colors: {
custom: {
50: '#9a9bfd',
500: '#5f74fa',
950: '#000000',
},
}SCSS
$custom: #5f74fa; $custom-light: #9a9bfd; $custom-dark: #000000;
JSON
{
"hex": "#5f74fa",
"rgb": {
"r": 95,
"g": 116,
"b": 250
},
"hsl": {
"h": 231.871,
"s": 93.939,
"l": 67.647
},
"oklch": {
"l": 0.61458,
"c": 0.19958,
"h": 272.4
},
"luminance": 0.21826
}Semantic roles & 50–950 ramp
primary
#5F74FA
secondary
#F2ECC2
accent
#C600E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86