#5B85FE#5B85FE

#5B85FE is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.8% C 0.185 H 266.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5B85FE
RGBrgb(91, 133, 254)
HSLhsl(225, 99%, 68%)
HSVhsv(225, 64%, 100%)
CMYKcmyk(64.2%, 47.6%, 0%, 0.4%)
CIE-LABlab(58.18, 22.89, -64.66)
CIE-LCHlch(58.18, 68.59, 289.49°)
OKLaboklab(64.77% -0.0104 -0.1852)
OKLCHoklch(64.77% 0.185 266.8)
XYZxyz(30.5851, 26.1521, 97.1828)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85FE #FED45B
analogous
#5BD6FE #5B85FE #835BFE
triadic
#5B85FE #FE5B85 #85FE5B
tetradic
#5B85FE #FE5BD6 #FED45B #5BFE83
square
#5B85FE #FE5BD6 #FED45B #5BFE83
split-complementary
#5B85FE #FE835B #D6FE5B
monochromatic
#013ADD #1E58FE #5B85FE #98B2FE #D5E0FF

Accessibility & contrast

On white

3.37
#5B85FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#5B85FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85FE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85FE#FFFFFF#000000##000000
##5B85FE1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#2085FC
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b85fe;
/* rgb */ color: rgb(91, 133, 254);
/* oklch */ color: oklch(64.8% 0.185 266.8);
Tailwind
colors: {
  custom: {
    50: '#98a8ff',
    500: '#5b85fe',
    950: '#000000',
  },
}
SCSS
$custom: #5b85fe;
$custom-light: #98a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85fe",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 254
  },
  "hsl": {
    "h": 224.54,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64767,
    "c": 0.18548,
    "h": 266.8
  },
  "luminance": 0.26155
}

Semantic roles & 50–950 ramp

primary
#5B85FE
secondary
#F4E7C1
accent
#AA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5B85FE

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

Preview Lab → · Contrast checker → · Palette generator →

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