#5A85CA#5A85CA

#5A85CA is a mid, moderate blue. Relative luminance 0.232; OKLCH L 61.6% C 0.116 H 259.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5A85CA
RGBrgb(90, 133, 202)
HSLhsl(217, 51%, 57%)
HSVhsv(217, 55%, 79%)
CMYKcmyk(55.4%, 34.2%, 0%, 20.8%)
CIE-LABlab(55.29, 5.47, -40.25)
CIE-LCHlch(55.29, 40.62, 277.74°)
OKLaboklab(61.6% -0.0211 -0.1136)
OKLCHoklch(61.6% 0.116 259.5)
XYZxyz(23.2610, 23.2111, 59.1201)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85CA #CA9F5A
analogous
#5ABDCA #5A85CA #675ACA
triadic
#5A85CA #CA5A85 #85CA5A
tetradic
#5A85CA #CA5ABD #CA9F5A #5ACA67
square
#5A85CA #CA5ABD #CA9F5A #5ACA67
split-complementary
#5A85CA #CA675A #BDCA5A
monochromatic
#294B80 #3866AF #5A85CA #88A7D9 #B7C9E8

Accessibility & contrast

On white

3.72
#5A85CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5A85CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85CA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85CA#FFFFFF#000000##000000
##5A85CA1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#0F949E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a85ca;
/* rgb */ color: rgb(90, 133, 202);
/* oklch */ color: oklch(61.6% 0.116 259.5);
Tailwind
colors: {
  custom: {
    50: '#90a8da',
    500: '#5a85ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a85ca;
$custom-light: #90a8da;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85ca",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 202
  },
  "hsl": {
    "h": 216.964,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61604,
    "c": 0.11558,
    "h": 259.5
  },
  "luminance": 0.23213
}

Semantic roles & 50–950 ramp

primary
#5A85CA
secondary
#D7C5A9
accent
#A44DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A85CA

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

Preview Lab → · Contrast checker → · Palette generator →

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