#5B85F4#5B85F4

#5B85F4 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.1% C 0.172 H 266.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5B85F4
RGBrgb(91, 133, 244)
HSLhsl(224, 87%, 66%)
HSVhsv(224, 63%, 96%)
CMYKcmyk(62.7%, 45.5%, 0%, 4.3%)
CIE-LABlab(57.59, 19.52, -60.10)
CIE-LCHlch(57.59, 63.19, 287.99°)
OKLaboklab(64.12% -0.0117 -0.1718)
OKLCHoklch(64.12% 0.172 266.1)
XYZxyz(29.0254, 25.5282, 88.9682)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85F4 #F4CA5B
analogous
#5BD2F4 #5B85F4 #7D5BF4
triadic
#5B85F4 #F45B85 #85F45B
tetradic
#5B85F4 #F45BD2 #F4CA5B #5BF47D
square
#5B85F4 #F45BD2 #F4CA5B #5BF47D
split-complementary
#5B85F4 #F47D5B #D2F45B
monochromatic
#0D40C7 #225AF0 #5B85F4 #94B0F8 #CEDAFC

Accessibility & contrast

On white

3.44
#5B85F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5B85F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85F4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85F4#FFFFFF#000000##000000
##5B85F41.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F8
Deuteranopia (green-blind)
#3484F2
Tritanopia (blue-blind)
#009EB1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b85f4;
/* rgb */ color: rgb(91, 133, 244);
/* oklch */ color: oklch(64.1% 0.172 266.1);
Tailwind
colors: {
  custom: {
    50: '#97a8f8',
    500: '#5b85f4',
    950: '#000000',
  },
}
SCSS
$custom: #5b85f4;
$custom-light: #97a8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85f4",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 244
  },
  "hsl": {
    "h": 223.529,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64122,
    "c": 0.17218,
    "h": 266.1
  },
  "luminance": 0.25531
}

Semantic roles & 50–950 ramp

primary
#5B85F4
secondary
#EFE1BC
accent
#A602E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B85F4

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

Preview Lab → · Contrast checker → · Palette generator →

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