#5F7AF0#5F7AF0
#5F7AF0 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.179 H 270.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7AF0 |
|---|---|
| RGB | rgb(95, 122, 240) |
| HSL | hsl(229, 83%, 66%) |
| HSV | hsv(229, 60%, 94%) |
| CMYK | cmyk(60.4%, 49.2%, 0%, 5.9%) |
| CIE-LAB | lab(54.70, 25.56, -62.51) |
| CIE-LCH | lch(54.70, 67.53, 292.24°) |
| OKLab | oklab(61.9% 0.0021 -0.1789) |
| OKLCH | oklch(61.9% 0.179 270.7) |
| XYZ | xyz(27.4018, 22.6410, 85.3473) |
| Luminance | 0.2264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.23
Lightish Blue
#3D7AFD
ΔE00 3.86
Soft Blue
#6488EA
ΔE00 4.63
Cornflower Blue
#5170D7
ΔE00 5.08
Dodger Blue
#3E82FC
ΔE00 5.44
Clear Blue
#247AFD
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7AF0 #F0D55F
analogous
#5FC2F0 #5F7AF0 #8D5FF0
triadic
#5F7AF0 #F05F7A #7AF05F
tetradic
#5F7AF0 #F05FC2 #F0D55F #5FF08D
square
#5F7AF0 #F05FC2 #F0D55F #5FF08D
split-complementary
#5F7AF0 #F08D5F #C2F05F
monochromatic
#1233C2 #274BEB #5F7AF0 #97A9F5 #CFD7FA
Accessibility & contrast
On white
3.80
#5F7AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#5F7AF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7AF0
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7AF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7AF0 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8AF4
Deuteranopia (green-blind)
#1B7DEE
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5f7af0; /* rgb */ color: rgb(95, 122, 240); /* oklch */ color: oklch(61.9% 0.179 270.7);
Tailwind
colors: {
custom: {
50: '#99a0f6',
500: '#5f7af0',
950: '#000000',
},
}SCSS
$custom: #5f7af0; $custom-light: #99a0f6; $custom-dark: #000000;
JSON
{
"hex": "#5f7af0",
"rgb": {
"r": 95,
"g": 122,
"b": 240
},
"hsl": {
"h": 228.828,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.61902,
"c": 0.17892,
"h": 270.7
},
"luminance": 0.22643
}Semantic roles & 50–950 ramp
primary
#5F7AF0
secondary
#EEE5BD
accent
#B706DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85