#5B85F6#5B85F6

#5B85F6 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.2% C 0.175 H 266.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5B85F6
RGBrgb(91, 133, 246)
HSLhsl(224, 90%, 66%)
HSVhsv(224, 63%, 96%)
CMYKcmyk(63%, 45.9%, 0%, 3.5%)
CIE-LABlab(57.70, 20.19, -61.02)
CIE-LCHlch(57.70, 64.28, 288.31°)
OKLaboklab(64.25% -0.0114 -0.1745)
OKLCHoklch(64.25% 0.175 266.3)
XYZxyz(29.3307, 25.6504, 90.5762)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85F6 #F6CC5B
analogous
#5BD2F6 #5B85F6 #7E5BF6
triadic
#5B85F6 #F65B85 #85F65B
tetradic
#5B85F6 #F65BD2 #F6CC5B #5BF67E
square
#5B85F6 #F65BD2 #F6CC5B #5BF67E
split-complementary
#5B85F6 #F67E5B #D2F65B
monochromatic
#0B3FCB #215AF3 #5B85F6 #95B0F9 #CFDBFC

Accessibility & contrast

On white

3.43
#5B85F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5B85F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85F6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85F6#FFFFFF#000000##000000
##5B85F61.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#3184F4
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b85f6;
/* rgb */ color: rgb(91, 133, 246);
/* oklch */ color: oklch(64.2% 0.175 266.3);
Tailwind
colors: {
  custom: {
    50: '#97a8fa',
    500: '#5b85f6',
    950: '#000000',
  },
}
SCSS
$custom: #5b85f6;
$custom-light: #97a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85f6",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 246
  },
  "hsl": {
    "h": 223.742,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64249,
    "c": 0.17485,
    "h": 266.3
  },
  "luminance": 0.25653
}

Semantic roles & 50–950 ramp

primary
#5B85F6
secondary
#F0E2BD
accent
#A700E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B85F6

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

Preview Lab → · Contrast checker → · Palette generator →

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