#5B85F2#5B85F2
#5B85F2 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.0% C 0.170 H 265.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5B85F2 |
|---|---|
| RGB | rgb(91, 133, 242) |
| HSL | hsl(223, 85%, 65%) |
| HSV | hsv(223, 62%, 95%) |
| CMYK | cmyk(62.4%, 45%, 0%, 5.1%) |
| CIE-LAB | lab(57.47, 18.85, -59.18) |
| CIE-LCH | lch(57.47, 62.11, 287.67°) |
| OKLab | oklab(64% -0.012 -0.1691) |
| OKLCH | oklch(64% 0.17 265.9) |
| XYZ | xyz(28.7234, 25.4074, 87.3776) |
| Luminance | 0.2541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.49
Dodger Blue
#3E82FC
ΔE00 2.93
Lightish Blue
#3D7AFD
ΔE00 3.99
Clear Blue
#247AFD
ΔE00 5.02
Cornflowerblue
#6495ED
ΔE00 5.05
Cornflower
#6A79F7
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B85F2 #F2C85B
analogous
#5BD1F2 #5B85F2 #7C5BF2
triadic
#5B85F2 #F25B85 #85F25B
tetradic
#5B85F2 #F25BD1 #F2C85B #5BF27C
square
#5B85F2 #F25BD1 #F2C85B #5BF27C
split-complementary
#5B85F2 #F27C5B #D1F25B
monochromatic
#0F41C3 #225BEE #5B85F2 #94AFF6 #CCD9FB
Accessibility & contrast
On white
3.45
#5B85F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#5B85F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B85F2
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B85F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B85F2 | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#3784F0
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5b85f2; /* rgb */ color: rgb(91, 133, 242); /* oklch */ color: oklch(64.0% 0.170 265.9);
Tailwind
colors: {
custom: {
50: '#96a8f7',
500: '#5b85f2',
950: '#000000',
},
}SCSS
$custom: #5b85f2; $custom-light: #96a8f7; $custom-dark: #000000;
JSON
{
"hex": "#5b85f2",
"rgb": {
"r": 91,
"g": 133,
"b": 242
},
"hsl": {
"h": 223.311,
"s": 85.311,
"l": 65.294
},
"oklch": {
"l": 0.63995,
"c": 0.1695,
"h": 265.9
},
"luminance": 0.2541
}Semantic roles & 50–950 ramp
primary
#5B85F2
secondary
#EEE0BB
accent
#A404E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85