#5A85CF#5A85CF

#5A85CF is a mid, vivid blue. Relative luminance 0.235; OKLCH L 61.9% C 0.122 H 260.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5A85CF
RGBrgb(90, 133, 207)
HSLhsl(218, 55%, 58%)
HSVhsv(218, 57%, 81%)
CMYKcmyk(56.5%, 35.7%, 0%, 18.8%)
CIE-LABlab(55.53, 7.09, -42.69)
CIE-LCHlch(55.53, 43.28, 279.42°)
OKLaboklab(61.88% -0.0198 -0.1208)
OKLCHoklch(61.88% 0.122 260.7)
XYZxyz(23.8626, 23.4518, 62.2885)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85CF #CFA45A
analogous
#5ABFCF #5A85CF #695ACF
triadic
#5A85CF #CF5A85 #85CF5A
tetradic
#5A85CF #CF5ABF #CFA45A #5ACF69
square
#5A85CF #CF5ABF #CFA45A #5ACF69
split-complementary
#5A85CF #CF695A #BFCF5A
monochromatic
#274B87 #3565B7 #5A85CF #89A8DD #B9CBEB

Accessibility & contrast

On white

3.69
#5A85CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5A85CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85CF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85CF#FFFFFF#000000##000000
##5A85CF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a85cf;
/* rgb */ color: rgb(90, 133, 207);
/* oklch */ color: oklch(61.9% 0.122 260.7);
Tailwind
colors: {
  custom: {
    50: '#91a8de',
    500: '#5a85cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a85cf;
$custom-light: #91a8de;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85cf",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 207
  },
  "hsl": {
    "h": 217.949,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61876,
    "c": 0.12238,
    "h": 260.7
  },
  "luminance": 0.23454
}

Semantic roles & 50–950 ramp

primary
#5A85CF
secondary
#DAC9AB
accent
#A84ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A85CF

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

Preview Lab → · Contrast checker → · Palette generator →

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