#5A85E8#5A85E8

#5A85E8 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.3% C 0.156 H 264.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5A85E8
RGBrgb(90, 133, 232)
HSLhsl(222, 76%, 63%)
HSVhsv(222, 61%, 91%)
CMYKcmyk(61.2%, 42.7%, 0%, 9%)
CIE-LABlab(56.85, 15.33, -54.62)
CIE-LCHlch(56.85, 56.73, 285.68°)
OKLaboklab(63.32% -0.0145 -0.1557)
OKLCHoklch(63.32% 0.156 264.7)
XYZxyz(27.1644, 24.7725, 79.6783)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85E8 #E8BD5A
analogous
#5ACCE8 #5A85E8 #765AE8
triadic
#5A85E8 #E85A85 #85E85A
tetradic
#5A85E8 #E85ACC #E8BD5A #5AE876
square
#5A85E8 #E85ACC #E8BD5A #5AE876
split-complementary
#5A85E8 #E8765A #CCE85A
monochromatic
#1846AF #245DE1 #5A85E8 #90ADEF #C5D4F7

Accessibility & contrast

On white

3.53
#5A85E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5A85E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85E8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85E8#FFFFFF#000000##000000
##5A85E81.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEC
Deuteranopia (green-blind)
#4382E6
Tritanopia (blue-blind)
#009BAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a85e8;
/* rgb */ color: rgb(90, 133, 232);
/* oklch */ color: oklch(63.3% 0.156 264.7);
Tailwind
colors: {
  custom: {
    50: '#94a8f0',
    500: '#5a85e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a85e8;
$custom-light: #94a8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85e8",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 232
  },
  "hsl": {
    "h": 221.831,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63324,
    "c": 0.15637,
    "h": 264.7
  },
  "luminance": 0.24775
}

Semantic roles & 50–950 ramp

primary
#5A85E8
secondary
#E8D9B5
accent
#9B0ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A85E8

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

Preview Lab → · Contrast checker → · Palette generator →

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