#5B85F8#5B85F8

#5B85F8 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.4% C 0.178 H 266.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5B85F8
RGBrgb(91, 133, 248)
HSLhsl(224, 92%, 66%)
HSVhsv(224, 63%, 97%)
CMYKcmyk(63.3%, 46.4%, 0%, 2.7%)
CIE-LABlab(57.82, 20.87, -61.94)
CIE-LCHlch(57.82, 65.36, 288.62°)
OKLaboklab(64.38% -0.0111 -0.1772)
OKLCHoklch(64.38% 0.178 266.4)
XYZxyz(29.6394, 25.7738, 92.2016)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85F8 #F8CE5B
analogous
#5BD4F8 #5B85F8 #805BF8
triadic
#5B85F8 #F85B85 #85F85B
tetradic
#5B85F8 #F85BD4 #F8CE5B #5BF880
square
#5B85F8 #F85BD4 #F8CE5B #5BF880
split-complementary
#5B85F8 #F8805B #D4F85B
monochromatic
#093ED0 #2059F5 #5B85F8 #96B1FB #D0DCFD

Accessibility & contrast

On white

3.41
#5B85F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5B85F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85F8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85F8#FFFFFF#000000##000000
##5B85F81.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FC
Deuteranopia (green-blind)
#2D84F6
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b85f8;
/* rgb */ color: rgb(91, 133, 248);
/* oklch */ color: oklch(64.4% 0.178 266.4);
Tailwind
colors: {
  custom: {
    50: '#97a8fb',
    500: '#5b85f8',
    950: '#000000',
  },
}
SCSS
$custom: #5b85f8;
$custom-light: #97a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85f8",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 223.949,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64377,
    "c": 0.17752,
    "h": 266.4
  },
  "luminance": 0.25777
}

Semantic roles & 50–950 ramp

primary
#5B85F8
secondary
#F1E3BE
accent
#A800E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B85F8

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

Preview Lab → · Contrast checker → · Palette generator →

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