#5A85EF#5A85EF

#5A85EF is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.8% C 0.166 H 265.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5A85EF
RGBrgb(90, 133, 239)
HSLhsl(223, 82%, 65%)
HSVhsv(223, 62%, 94%)
CMYKcmyk(62.3%, 44.4%, 0%, 6.3%)
CIE-LABlab(57.25, 17.67, -57.88)
CIE-LCHlch(57.25, 60.52, 286.98°)
OKLaboklab(63.76% -0.0134 -0.1653)
OKLCHoklch(63.76% 0.166 265.4)
XYZxyz(28.1786, 25.1782, 85.0195)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85EF #EFC45A
analogous
#5ACFEF #5A85EF #7A5AEF
triadic
#5A85EF #EF5A85 #85EF5A
tetradic
#5A85EF #EF5ACF #EFC45A #5AEF7A
square
#5A85EF #EF5ACF #EFC45A #5AEF7A
split-complementary
#5A85EF #EF7A5A #CFEF5A
monochromatic
#1243BC #225CEA #5A85EF #92AEF4 #CAD8FA

Accessibility & contrast

On white

3.48
#5A85EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5A85EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85EF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85EF#FFFFFF#000000##000000
##5A85EF1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#3A83ED
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a85ef;
/* rgb */ color: rgb(90, 133, 239);
/* oklch */ color: oklch(63.8% 0.166 265.4);
Tailwind
colors: {
  custom: {
    50: '#96a8f5',
    500: '#5a85ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a85ef;
$custom-light: #96a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85ef",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 222.685,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63756,
    "c": 0.1658,
    "h": 265.4
  },
  "luminance": 0.25181
}

Semantic roles & 50–950 ramp

primary
#5A85EF
secondary
#ECDDB9
accent
#A007DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A85EF

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

Preview Lab → · Contrast checker → · Palette generator →

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