#5A85DD#5A85DD

#5A85DD is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.7% C 0.141 H 263.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5A85DD
RGBrgb(90, 133, 221)
HSLhsl(220, 66%, 61%)
HSVhsv(220, 59%, 87%)
CMYKcmyk(59.3%, 39.8%, 0%, 13.3%)
CIE-LABlab(56.25, 11.67, -49.43)
CIE-LCHlch(56.25, 50.79, 283.29°)
OKLaboklab(62.67% -0.0167 -0.1405)
OKLCHoklch(62.67% 0.141 263.2)
XYZxyz(25.6506, 24.1670, 71.7056)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85DD #DDB25A
analogous
#5AC7DD #5A85DD #705ADD
triadic
#5A85DD #DD5A85 #85DD5A
tetradic
#5A85DD #DD5AC7 #DDB25A #5ADD70
square
#5A85DD #DD5AC7 #DDB25A #5ADD70
split-complementary
#5A85DD #DD705A #C7DD5A
monochromatic
#20499C #2B61CF #5A85DD #8DABE7 #BFD0F2

Accessibility & contrast

On white

3.60
#5A85DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5A85DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85DD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85DD#FFFFFF#000000##000000
##5A85DD1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#4D81DB
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a85dd;
/* rgb */ color: rgb(90, 133, 221);
/* oklch */ color: oklch(62.7% 0.141 263.2);
Tailwind
colors: {
  custom: {
    50: '#93a8e8',
    500: '#5a85dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a85dd;
$custom-light: #93a8e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85dd",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 221
  },
  "hsl": {
    "h": 220.305,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.14144,
    "h": 263.2
  },
  "luminance": 0.24169
}

Semantic roles & 50–950 ramp

primary
#5A85DD
secondary
#E2D2B1
accent
#9218CE
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A85DD

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

Preview Lab → · Contrast checker → · Palette generator →

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