#5A85E2#5A85E2

#5A85E2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.0% C 0.148 H 263.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5A85E2
RGBrgb(90, 133, 226)
HSLhsl(221, 70%, 62%)
HSVhsv(221, 60%, 89%)
CMYKcmyk(60.2%, 41.2%, 0%, 11.4%)
CIE-LABlab(56.52, 13.33, -51.80)
CIE-LCHlch(56.52, 53.49, 284.43°)
OKLaboklab(62.96% -0.0157 -0.1474)
OKLCHoklch(62.96% 0.148 263.9)
XYZxyz(26.3267, 24.4374, 75.2663)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85E2 #E2B75A
analogous
#5AC9E2 #5A85E2 #735AE2
triadic
#5A85E2 #E25A85 #85E25A
tetradic
#5A85E2 #E25AC9 #E2B75A #5AE273
square
#5A85E2 #E25AC9 #E2B75A #5AE273
split-complementary
#5A85E2 #E2735A #C9E25A
monochromatic
#1D48A5 #265FD9 #5A85E2 #8EABEB #C2D2F4

Accessibility & contrast

On white

3.57
#5A85E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5A85E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85E2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85E2#FFFFFF#000000##000000
##5A85E21.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#4982E0
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a85e2;
/* rgb */ color: rgb(90, 133, 226);
/* oklch */ color: oklch(63.0% 0.148 263.9);
Tailwind
colors: {
  custom: {
    50: '#94a8eb',
    500: '#5a85e2',
    950: '#000000',
  },
}
SCSS
$custom: #5a85e2;
$custom-light: #94a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85e2",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 226
  },
  "hsl": {
    "h": 221.029,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62963,
    "c": 0.14824,
    "h": 263.9
  },
  "luminance": 0.2444
}

Semantic roles & 50–950 ramp

primary
#5A85E2
secondary
#E5D5B3
accent
#9613D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A85E2

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

Preview Lab → · Contrast checker → · Palette generator →

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