#5B85E2#5B85E2

#5B85E2 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.0% C 0.148 H 264.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5B85E2
RGBrgb(91, 133, 226)
HSLhsl(221, 70%, 62%)
HSVhsv(221, 60%, 89%)
CMYKcmyk(59.7%, 41.2%, 0%, 11.4%)
CIE-LABlab(56.57, 13.52, -51.72)
CIE-LCHlch(56.57, 53.45, 284.65°)
OKLaboklab(63.02% -0.0148 -0.1471)
OKLCHoklch(63.02% 0.148 264.3)
XYZxyz(26.4247, 24.4879, 75.2709)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85E2 #E2B85B
analogous
#5BC9E2 #5B85E2 #745BE2
triadic
#5B85E2 #E25B85 #85E25B
tetradic
#5B85E2 #E25BC9 #E2B85B #5BE274
square
#5B85E2 #E25BC9 #E2B85B #5BE274
split-complementary
#5B85E2 #E2745B #C9E25B
monochromatic
#1D48A5 #275ED9 #5B85E2 #8FACEB #C3D2F4

Accessibility & contrast

On white

3.56
#5B85E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5B85E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85E2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85E2#FFFFFF#000000##000000
##5B85E21.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#4982E0
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b85e2;
/* rgb */ color: rgb(91, 133, 226);
/* oklch */ color: oklch(63.0% 0.148 264.3);
Tailwind
colors: {
  custom: {
    50: '#94a8eb',
    500: '#5b85e2',
    950: '#000000',
  },
}
SCSS
$custom: #5b85e2;
$custom-light: #94a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85e2",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 226
  },
  "hsl": {
    "h": 221.333,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63015,
    "c": 0.14789,
    "h": 264.3
  },
  "luminance": 0.2449
}

Semantic roles & 50–950 ramp

primary
#5B85E2
secondary
#E5D6B4
accent
#9714D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B85E2

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

Preview Lab → · Contrast checker → · Palette generator →

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