#5B85E7#5B85E7

#5B85E7 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.3% C 0.155 H 264.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5B85E7
RGBrgb(91, 133, 231)
HSLhsl(222, 74%, 63%)
HSVhsv(222, 61%, 91%)
CMYKcmyk(60.6%, 42.4%, 0%, 9.4%)
CIE-LABlab(56.85, 15.18, -54.07)
CIE-LCHlch(56.85, 56.16, 285.68°)
OKLaboklab(63.32% -0.0138 -0.154)
OKLCHoklch(63.32% 0.155 264.9)
XYZxyz(27.1208, 24.7664, 78.9370)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85E7 #E7BD5B
analogous
#5BCBE7 #5B85E7 #775BE7
triadic
#5B85E7 #E75B85 #85E75B
tetradic
#5B85E7 #E75BCB #E7BD5B #5BE777
square
#5B85E7 #E75BCB #E7BD5B #5BE777
split-complementary
#5B85E7 #E7775B #CBE75B
monochromatic
#1946AE #265DDF #5B85E7 #90ADEF #C6D4F7

Accessibility & contrast

On white

3.53
#5B85E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5B85E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85E7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85E7#FFFFFF#000000##000000
##5B85E71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FEB
Deuteranopia (green-blind)
#4482E5
Tritanopia (blue-blind)
#009BAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b85e7;
/* rgb */ color: rgb(91, 133, 231);
/* oklch */ color: oklch(63.3% 0.155 264.9);
Tailwind
colors: {
  custom: {
    50: '#95a8ef',
    500: '#5b85e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b85e7;
$custom-light: #95a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85e7",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 222,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63315,
    "c": 0.15467,
    "h": 264.9
  },
  "luminance": 0.24769
}

Semantic roles & 50–950 ramp

primary
#5B85E7
secondary
#E8D9B6
accent
#9B0FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5B85E7

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

Preview Lab → · Contrast checker → · Palette generator →

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