#5F85FB#5F85FB
#5F85FB is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.8% C 0.180 H 267.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5F85FB |
|---|---|
| RGB | rgb(95, 133, 251) |
| HSL | hsl(225, 95%, 68%) |
| HSV | hsv(225, 62%, 98%) |
| CMYK | cmyk(62.2%, 47%, 0%, 1.6%) |
| CIE-LAB | lab(58.20, 22.54, -62.98) |
| CIE-LCH | lch(58.20, 66.89, 289.70°) |
| OKLab | oklab(64.78% -0.0071 -0.1801) |
| OKLCH | oklch(64.78% 0.18 267.7) |
| XYZ | xyz(30.5135, 26.1703, 94.6914) |
| Luminance | 0.2617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.09
Dodger Blue
#3E82FC
ΔE00 3.73
Lightish Blue
#3D7AFD
ΔE00 4.39
Cornflower
#6A79F7
ΔE00 4.79
Cornflowerblue
#6495ED
ΔE00 5.44
Clear Blue
#247AFD
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F85FB #FBD55F
analogous
#5FD3FB #5F85FB #875FFB
triadic
#5F85FB #FB5F85 #85FB5F
tetradic
#5F85FB #FB5FD3 #FBD55F #5FFB87
square
#5F85FB #FB5FD3 #FBD55F #5FFB87
split-complementary
#5F85FB #FB875F #D3FB5F
monochromatic
#0539DA #2357FA #5F85FB #9BB3FC #D6E0FE
Accessibility & contrast
On white
3.37
#5F85FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#5F85FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F85FB
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F85FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F85FB | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#2B85F9
Tritanopia (blue-blind)
#00A0B4
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5f85fb; /* rgb */ color: rgb(95, 133, 251); /* oklch */ color: oklch(64.8% 0.180 267.7);
Tailwind
colors: {
custom: {
50: '#9aa8fd',
500: '#5f85fb',
950: '#000000',
},
}SCSS
$custom: #5f85fb; $custom-light: #9aa8fd; $custom-dark: #000000;
JSON
{
"hex": "#5f85fb",
"rgb": {
"r": 95,
"g": 133,
"b": 251
},
"hsl": {
"h": 225.385,
"s": 95.122,
"l": 67.843
},
"oklch": {
"l": 0.64776,
"c": 0.18029,
"h": 267.7
},
"luminance": 0.26173
}Semantic roles & 50–950 ramp
primary
#5F85FB
secondary
#F3E7C3
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86