#5B85F2#5B85F2

#5B85F2 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.0% C 0.170 H 265.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5B85F2
RGBrgb(91, 133, 242)
HSLhsl(223, 85%, 65%)
HSVhsv(223, 62%, 95%)
CMYKcmyk(62.4%, 45%, 0%, 5.1%)
CIE-LABlab(57.47, 18.85, -59.18)
CIE-LCHlch(57.47, 62.11, 287.67°)
OKLaboklab(64% -0.012 -0.1691)
OKLCHoklch(64% 0.17 265.9)
XYZxyz(28.7234, 25.4074, 87.3776)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B85F2 #F2C85B
analogous
#5BD1F2 #5B85F2 #7C5BF2
triadic
#5B85F2 #F25B85 #85F25B
tetradic
#5B85F2 #F25BD1 #F2C85B #5BF27C
square
#5B85F2 #F25BD1 #F2C85B #5BF27C
split-complementary
#5B85F2 #F27C5B #D1F25B
monochromatic
#0F41C3 #225BEE #5B85F2 #94AFF6 #CCD9FB

Accessibility & contrast

On white

3.45
#5B85F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#5B85F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B85F2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B85F2#FFFFFF#000000##000000
##5B85F21.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#3784F0
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5b85f2;
/* rgb */ color: rgb(91, 133, 242);
/* oklch */ color: oklch(64.0% 0.170 265.9);
Tailwind
colors: {
  custom: {
    50: '#96a8f7',
    500: '#5b85f2',
    950: '#000000',
  },
}
SCSS
$custom: #5b85f2;
$custom-light: #96a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b85f2",
  "rgb": {
    "r": 91,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 223.311,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63995,
    "c": 0.1695,
    "h": 265.9
  },
  "luminance": 0.2541
}

Semantic roles & 50–950 ramp

primary
#5B85F2
secondary
#EEE0BB
accent
#A404E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B85F2

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

Preview Lab → · Contrast checker → · Palette generator →

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