#5B85F1#5B85F1

#5B85F1 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.9% C 0.168 H 265.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5B85F1
RGBrgb(91, 133, 241)
HSLhsl(223, 84%, 65%)
HSVhsv(223, 62%, 95%)
CMYKcmyk(62.2%, 44.8%, 0%, 5.5%)
CIE-LABlab(57.41, 18.52, -58.72)
CIE-LCHlch(57.41, 61.57, 287.50°)
OKLaboklab(63.93% -0.0122 -0.1677)
OKLCHoklch(63.93% 0.168 265.8)
XYZxyz(28.5736, 25.3475, 86.5888)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85F1 #F1C75B
analogous
#5BD0F1 #5B85F1 #7C5BF1
triadic
#5B85F1 #F15B85 #85F15B
tetradic
#5B85F1 #F15BD0 #F1C75B #5BF17C
square
#5B85F1 #F15BD0 #F1C75B #5BF17C
split-complementary
#5B85F1 #F17C5B #D0F15B
monochromatic
#1042C1 #235BEC #5B85F1 #93AFF6 #CCD9FB

Accessibility & contrast

On white

3.46
#5B85F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5B85F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85F1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85F1#FFFFFF#000000##000000
##5B85F11.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#3883EF
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b85f1;
/* rgb */ color: rgb(91, 133, 241);
/* oklch */ color: oklch(63.9% 0.168 265.8);
Tailwind
colors: {
  custom: {
    50: '#96a8f6',
    500: '#5b85f1',
    950: '#000000',
  },
}
SCSS
$custom: #5b85f1;
$custom-light: #96a8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85f1",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 241
  },
  "hsl": {
    "h": 223.2,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63932,
    "c": 0.16816,
    "h": 265.8
  },
  "luminance": 0.2535
}

Semantic roles & 50–950 ramp

primary
#5B85F1
secondary
#EDDFBA
accent
#A305E1
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B85F1

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

Preview Lab → · Contrast checker → · Palette generator →

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