#5B85EE#5B85EE

#5B85EE is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.7% C 0.164 H 265.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5B85EE
RGBrgb(91, 133, 238)
HSLhsl(223, 81%, 65%)
HSVhsv(223, 62%, 93%)
CMYKcmyk(61.8%, 44.1%, 0%, 6.7%)
CIE-LABlab(57.24, 17.51, -57.33)
CIE-LCHlch(57.24, 59.95, 286.98°)
OKLaboklab(63.75% -0.0126 -0.1636)
OKLCHoklch(63.75% 0.164 265.6)
XYZxyz(28.1292, 25.1698, 84.2482)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85EE #EEC45B
analogous
#5BCFEE #5B85EE #7B5BEE
triadic
#5B85EE #EE5B85 #85EE5B
tetradic
#5B85EE #EE5BCF #EEC45B #5BEE7B
square
#5B85EE #EE5BCF #EEC45B #5BEE7B
split-complementary
#5B85EE #EE7B5B #CFEE5B
monochromatic
#1343BB #245CE8 #5B85EE #92AEF4 #CAD8F9

Accessibility & contrast

On white

3.48
#5B85EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5B85EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85EE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85EE#FFFFFF#000000##000000
##5B85EE1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#3C83EC
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b85ee;
/* rgb */ color: rgb(91, 133, 238);
/* oklch */ color: oklch(63.7% 0.164 265.6);
Tailwind
colors: {
  custom: {
    50: '#96a8f4',
    500: '#5b85ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b85ee;
$custom-light: #96a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85ee",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 238
  },
  "hsl": {
    "h": 222.857,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63745,
    "c": 0.16413,
    "h": 265.6
  },
  "luminance": 0.25172
}

Semantic roles & 50–950 ramp

primary
#5B85EE
secondary
#ECDDB9
accent
#A108DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B85EE

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

Preview Lab → · Contrast checker → · Palette generator →

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