#5A85EB#5A85EB

#5A85EB is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.5% C 0.160 H 265.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5A85EB
RGBrgb(90, 133, 235)
HSLhsl(222, 78%, 64%)
HSVhsv(222, 62%, 92%)
CMYKcmyk(61.7%, 43.4%, 0%, 7.8%)
CIE-LABlab(57.02, 16.33, -56.02)
CIE-LCHlch(57.02, 58.35, 286.25°)
OKLaboklab(63.51% -0.014 -0.1598)
OKLCHoklch(63.51% 0.16 265)
XYZxyz(27.5942, 24.9444, 81.9417)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85EB #EBC05A
analogous
#5ACDEB #5A85EB #775AEB
triadic
#5A85EB #EB5A85 #85EB5A
tetradic
#5A85EB #EB5ACD #EBC05A #5AEB77
square
#5A85EB #EB5ACD #EBC05A #5AEB77
split-complementary
#5A85EB #EB775A #CDEB5A
monochromatic
#1645B5 #235DE4 #5A85EB #91ADF2 #C7D6F8

Accessibility & contrast

On white

3.51
#5A85EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5A85EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85EB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85EB#FFFFFF#000000##000000
##5A85EB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#3F83E9
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a85eb;
/* rgb */ color: rgb(90, 133, 235);
/* oklch */ color: oklch(63.5% 0.160 265.0);
Tailwind
colors: {
  custom: {
    50: '#95a8f2',
    500: '#5a85eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a85eb;
$custom-light: #95a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85eb",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 222.207,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63508,
    "c": 0.16041,
    "h": 265
  },
  "luminance": 0.24947
}

Semantic roles & 50–950 ramp

primary
#5A85EB
secondary
#EADBB7
accent
#9D0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A85EB

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

Preview Lab → · Contrast checker → · Palette generator →

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