#5B85EF#5B85EF

#5B85EF is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.8% C 0.165 H 265.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5B85EF
RGBrgb(91, 133, 239)
HSLhsl(223, 82%, 65%)
HSVhsv(223, 62%, 94%)
CMYKcmyk(61.9%, 44.4%, 0%, 6.3%)
CIE-LABlab(57.30, 17.85, -57.80)
CIE-LCHlch(57.30, 60.49, 287.16°)
OKLaboklab(63.81% -0.0125 -0.165)
OKLCHoklch(63.81% 0.165 265.7)
XYZxyz(28.2765, 25.2287, 85.0241)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85EF #EFC55B
analogous
#5BCFEF #5B85EF #7B5BEF
triadic
#5B85EF #EF5B85 #85EF5B
tetradic
#5B85EF #EF5BCF #EFC55B #5BEF7B
square
#5B85EF #EF5BCF #EFC55B #5BEF7B
split-complementary
#5B85EF #EF7B5B #CFEF5B
monochromatic
#1243BD #235CEA #5B85EF #93AEF4 #CBD8FA

Accessibility & contrast

On white

3.47
#5B85EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5B85EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85EF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85EF#FFFFFF#000000##000000
##5B85EF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#3B83ED
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b85ef;
/* rgb */ color: rgb(91, 133, 239);
/* oklch */ color: oklch(63.8% 0.165 265.7);
Tailwind
colors: {
  custom: {
    50: '#96a8f5',
    500: '#5b85ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b85ef;
$custom-light: #96a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85ef",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 222.973,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63807,
    "c": 0.16547,
    "h": 265.7
  },
  "luminance": 0.25231
}

Semantic roles & 50–950 ramp

primary
#5B85EF
secondary
#ECDEBA
accent
#A107DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B85EF

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

Preview Lab → · Contrast checker → · Palette generator →

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