#5B85F5#5B85F5

#5B85F5 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.2% C 0.174 H 266.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5B85F5
RGBrgb(91, 133, 245)
HSLhsl(224, 89%, 66%)
HSVhsv(224, 63%, 96%)
CMYKcmyk(62.9%, 45.7%, 0%, 3.9%)
CIE-LABlab(57.65, 19.86, -60.56)
CIE-LCHlch(57.65, 63.74, 288.15°)
OKLaboklab(64.19% -0.0116 -0.1731)
OKLCHoklch(64.19% 0.174 266.2)
XYZxyz(29.1777, 25.5891, 89.7701)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85F5 #F5CB5B
analogous
#5BD2F5 #5B85F5 #7E5BF5
triadic
#5B85F5 #F55B85 #85F55B
tetradic
#5B85F5 #F55BD2 #F5CB5B #5BF57E
square
#5B85F5 #F55BD2 #F5CB5B #5BF57E
split-complementary
#5B85F5 #F57E5B #D2F55B
monochromatic
#0C40C9 #215AF1 #5B85F5 #95B0F9 #CEDBFC

Accessibility & contrast

On white

3.43
#5B85F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5B85F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85F5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85F5#FFFFFF#000000##000000
##5B85F51.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F9
Deuteranopia (green-blind)
#3284F3
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b85f5;
/* rgb */ color: rgb(91, 133, 245);
/* oklch */ color: oklch(64.2% 0.174 266.2);
Tailwind
colors: {
  custom: {
    50: '#97a8f9',
    500: '#5b85f5',
    950: '#000000',
  },
}
SCSS
$custom: #5b85f5;
$custom-light: #97a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85f5",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 245
  },
  "hsl": {
    "h": 223.636,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64185,
    "c": 0.17352,
    "h": 266.2
  },
  "luminance": 0.25592
}

Semantic roles & 50–950 ramp

primary
#5B85F5
secondary
#EFE1BC
accent
#A700E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B85F5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5B85F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva