#5F84FB#5F84FB
#5F84FB is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.6% C 0.181 H 268.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5F84FB |
|---|---|
| RGB | rgb(95, 132, 251) |
| HSL | hsl(226, 95%, 68%) |
| HSV | hsv(226, 62%, 98%) |
| CMYK | cmyk(62.2%, 47.4%, 0%, 1.6%) |
| CIE-LAB | lab(57.94, 23.15, -63.39) |
| CIE-LCH | lch(57.94, 67.48, 290.06°) |
| OKLab | oklab(64.58% -0.0062 -0.1814) |
| OKLCH | oklch(64.58% 0.181 268) |
| XYZ | xyz(30.3772, 25.8978, 94.6460) |
| Luminance | 0.2590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.26
Dodger Blue
#3E82FC
ΔE00 3.80
Lightish Blue
#3D7AFD
ΔE00 4.23
Cornflower
#6A79F7
ΔE00 4.47
Clear Blue
#247AFD
ΔE00 5.62
Cornflowerblue
#6495ED
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F84FB #FBD65F
analogous
#5FD2FB #5F84FB #885FFB
triadic
#5F84FB #FB5F84 #84FB5F
tetradic
#5F84FB #FB5FD2 #FBD65F #5FFB88
square
#5F84FB #FB5FD2 #FBD65F #5FFB88
split-complementary
#5F84FB #FB885F #D2FB5F
monochromatic
#0538DA #2356FA #5F84FB #9BB2FC #D6E0FE
Accessibility & contrast
On white
3.40
#5F84FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#5F84FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F84FB
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F84FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F84FB | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#2785F9
Tritanopia (blue-blind)
#009FB3
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5f84fb; /* rgb */ color: rgb(95, 132, 251); /* oklch */ color: oklch(64.6% 0.181 268.0);
Tailwind
colors: {
custom: {
50: '#9aa7fd',
500: '#5f84fb',
950: '#000000',
},
}SCSS
$custom: #5f84fb; $custom-light: #9aa7fd; $custom-dark: #000000;
JSON
{
"hex": "#5f84fb",
"rgb": {
"r": 95,
"g": 132,
"b": 251
},
"hsl": {
"h": 225.769,
"s": 95.122,
"l": 67.843
},
"oklch": {
"l": 0.64579,
"c": 0.18149,
"h": 268
},
"luminance": 0.259
}Semantic roles & 50–950 ramp
primary
#5F84FB
secondary
#F3E8C3
accent
#AF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86