#5A85E5#5A85E5

#5A85E5 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.1% C 0.152 H 264.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5A85E5
RGBrgb(90, 133, 229)
HSLhsl(221, 73%, 63%)
HSVhsv(221, 61%, 90%)
CMYKcmyk(60.7%, 41.9%, 0%, 10.2%)
CIE-LABlab(56.69, 14.33, -53.21)
CIE-LCHlch(56.69, 55.11, 285.07°)
OKLaboklab(63.14% -0.0151 -0.1516)
OKLCHoklch(63.14% 0.152 264.3)
XYZxyz(26.7420, 24.6035, 77.4532)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85E5 #E5BA5A
analogous
#5ACAE5 #5A85E5 #755AE5
triadic
#5A85E5 #E55A85 #85E55A
tetradic
#5A85E5 #E55ACA #E5BA5A #5AE575
square
#5A85E5 #E55ACA #E5BA5A #5AE575
split-complementary
#5A85E5 #E5755A #CAE55A
monochromatic
#1B47AA #255EDD #5A85E5 #8FACED #C4D3F6

Accessibility & contrast

On white

3.55
#5A85E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5A85E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85E5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85E5#FFFFFF#000000##000000
##5A85E51.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8FE9
Deuteranopia (green-blind)
#4682E3
Tritanopia (blue-blind)
#009BAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a85e5;
/* rgb */ color: rgb(90, 133, 229);
/* oklch */ color: oklch(63.1% 0.152 264.3);
Tailwind
colors: {
  custom: {
    50: '#94a8ee',
    500: '#5a85e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a85e5;
$custom-light: #94a8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85e5",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 229
  },
  "hsl": {
    "h": 221.439,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63143,
    "c": 0.15231,
    "h": 264.3
  },
  "luminance": 0.24606
}

Semantic roles & 50–950 ramp

primary
#5A85E5
secondary
#E7D7B4
accent
#9811D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A85E5

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

Preview Lab → · Contrast checker → · Palette generator →

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