#5B85EB#5B85EB

#5B85EB is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.6% C 0.160 H 265.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5B85EB
RGBrgb(91, 133, 235)
HSLhsl(223, 78%, 64%)
HSVhsv(223, 61%, 92%)
CMYKcmyk(61.3%, 43.4%, 0%, 7.8%)
CIE-LABlab(57.07, 16.51, -55.94)
CIE-LCHlch(57.07, 58.32, 286.44°)
OKLaboklab(63.56% -0.0131 -0.1595)
OKLCHoklch(63.56% 0.16 265.3)
XYZxyz(27.6921, 24.9949, 81.9463)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85EB #EBC15B
analogous
#5BCDEB #5B85EB #795BEB
triadic
#5B85EB #EB5B85 #85EB5B
tetradic
#5B85EB #EB5BCD #EBC15B #5BEB79
square
#5B85EB #EB5BCD #EBC15B #5BEB79
split-complementary
#5B85EB #EB795B #CDEB5B
monochromatic
#1645B5 #245CE4 #5B85EB #92AEF2 #C8D6F8

Accessibility & contrast

On white

3.50
#5B85EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5B85EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85EB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85EB#FFFFFF#000000##000000
##5B85EB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b85eb;
/* rgb */ color: rgb(91, 133, 235);
/* oklch */ color: oklch(63.6% 0.160 265.3);
Tailwind
colors: {
  custom: {
    50: '#95a8f2',
    500: '#5b85eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b85eb;
$custom-light: #95a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85eb",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 222.5,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63559,
    "c": 0.16008,
    "h": 265.3
  },
  "luminance": 0.24997
}

Semantic roles & 50–950 ramp

primary
#5B85EB
secondary
#EADBB8
accent
#9E0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5B85EB

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

Preview Lab → · Contrast checker → · Palette generator →

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