#5A85EC#5A85EC

#5A85EC is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.6% C 0.162 H 265.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5A85EC
RGBrgb(90, 133, 236)
HSLhsl(222, 79%, 64%)
HSVhsv(222, 62%, 93%)
CMYKcmyk(61.9%, 43.6%, 0%, 7.5%)
CIE-LABlab(57.08, 16.67, -56.49)
CIE-LCHlch(57.08, 58.89, 286.44°)
OKLaboklab(63.57% -0.0139 -0.1612)
OKLCHoklch(63.57% 0.162 265.1)
XYZxyz(27.7391, 25.0024, 82.7047)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85EC #ECC15A
analogous
#5ACEEC #5A85EC #785AEC
triadic
#5A85EC #EC5A85 #85EC5A
tetradic
#5A85EC #EC5ACE #ECC15A #5AEC78
square
#5A85EC #EC5ACE #ECC15A #5AEC78
split-complementary
#5A85EC #EC785A #CEEC5A
monochromatic
#1545B7 #235CE6 #5A85EC #91AEF2 #C8D6F9

Accessibility & contrast

On white

3.50
#5A85EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5A85EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85EC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85EC#FFFFFF#000000##000000
##5A85EC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#3E83EA
Tritanopia (blue-blind)
#009CAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a85ec;
/* rgb */ color: rgb(90, 133, 236);
/* oklch */ color: oklch(63.6% 0.162 265.1);
Tailwind
colors: {
  custom: {
    50: '#95a8f3',
    500: '#5a85ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a85ec;
$custom-light: #95a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85ec",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 222.329,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6357,
    "c": 0.16176,
    "h": 265.1
  },
  "luminance": 0.25005
}

Semantic roles & 50–950 ramp

primary
#5A85EC
secondary
#EBDBB7
accent
#9E0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5A85EC

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

Preview Lab → · Contrast checker → · Palette generator →

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