#5A85ED#5A85ED

#5A85ED is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.6% C 0.163 H 265.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5A85ED
RGBrgb(90, 133, 237)
HSLhsl(222, 80%, 64%)
HSVhsv(222, 62%, 93%)
CMYKcmyk(62%, 43.9%, 0%, 7.1%)
CIE-LABlab(57.13, 17.00, -56.95)
CIE-LCHlch(57.13, 59.43, 286.62°)
OKLaboklab(63.63% -0.0137 -0.1625)
OKLCHoklch(63.63% 0.163 265.2)
XYZxyz(27.8848, 25.0606, 83.4720)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85ED #EDC25A
analogous
#5ACFED #5A85ED #795AED
triadic
#5A85ED #ED5A85 #85ED5A
tetradic
#5A85ED #ED5ACF #EDC25A #5AED79
square
#5A85ED #ED5ACF #EDC25A #5AED79
split-complementary
#5A85ED #ED795A #CFED5A
monochromatic
#1444B8 #235CE7 #5A85ED #91AEF3 #C8D7F9

Accessibility & contrast

On white

3.49
#5A85ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5A85ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85ED
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85ED#FFFFFF#000000##000000
##5A85ED1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#3D83EB
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a85ed;
/* rgb */ color: rgb(90, 133, 237);
/* oklch */ color: oklch(63.6% 0.163 265.2);
Tailwind
colors: {
  custom: {
    50: '#95a8f3',
    500: '#5a85ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a85ed;
$custom-light: #95a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85ed",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 237
  },
  "hsl": {
    "h": 222.449,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63632,
    "c": 0.16311,
    "h": 265.2
  },
  "luminance": 0.25063
}

Semantic roles & 50–950 ramp

primary
#5A85ED
secondary
#EBDCB8
accent
#9F09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A85ED

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

Preview Lab → · Contrast checker → · Palette generator →

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