#5B85F9#5B85F9

#5B85F9 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.4% C 0.179 H 266.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5B85F9
RGBrgb(91, 133, 249)
HSLhsl(224, 93%, 67%)
HSVhsv(224, 63%, 98%)
CMYKcmyk(63.5%, 46.6%, 0%, 2.4%)
CIE-LABlab(57.88, 21.20, -62.39)
CIE-LCHlch(57.88, 65.90, 288.77°)
OKLaboklab(64.44% -0.011 -0.1785)
OKLCHoklch(64.44% 0.179 266.5)
XYZxyz(29.7949, 25.8360, 93.0208)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85F9 #F9CF5B
analogous
#5BD4F9 #5B85F9 #805BF9
triadic
#5B85F9 #F95B85 #85F95B
tetradic
#5B85F9 #F95BD4 #F9CF5B #5BF980
square
#5B85F9 #F95BD4 #F9CF5B #5BF980
split-complementary
#5B85F9 #F9805B #D4F95B
monochromatic
#083DD2 #2059F7 #5B85F9 #96B1FB #D1DDFD

Accessibility & contrast

On white

3.40
#5B85F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5B85F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85F9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85F9#FFFFFF#000000##000000
##5B85F91.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FD
Deuteranopia (green-blind)
#2B84F7
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b85f9;
/* rgb */ color: rgb(91, 133, 249);
/* oklch */ color: oklch(64.4% 0.179 266.5);
Tailwind
colors: {
  custom: {
    50: '#98a8fc',
    500: '#5b85f9',
    950: '#000000',
  },
}
SCSS
$custom: #5b85f9;
$custom-light: #98a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85f9",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 249
  },
  "hsl": {
    "h": 224.051,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64442,
    "c": 0.17885,
    "h": 266.5
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#5B85F9
secondary
#F1E4BE
accent
#A800E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B85F9

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

Preview Lab → · Contrast checker → · Palette generator →

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