#5A85CB#5A85CB

#5A85CB is a mid, moderate blue. Relative luminance 0.233; OKLCH L 61.7% C 0.117 H 259.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5A85CB
RGBrgb(90, 133, 203)
HSLhsl(217, 52%, 57%)
HSVhsv(217, 56%, 80%)
CMYKcmyk(55.7%, 34.5%, 0%, 20.4%)
CIE-LABlab(55.34, 5.79, -40.74)
CIE-LCHlch(55.34, 41.15, 278.09°)
OKLaboklab(61.66% -0.0208 -0.1151)
OKLCHoklch(61.66% 0.117 259.8)
XYZxyz(23.3798, 23.2586, 59.7457)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85CB #CBA05A
analogous
#5ABECB #5A85CB #675ACB
triadic
#5A85CB #CB5A85 #85CB5A
tetradic
#5A85CB #CB5ABE #CBA05A #5ACB67
square
#5A85CB #CB5ABE #CBA05A #5ACB67
split-complementary
#5A85CB #CB675A #BECB5A
monochromatic
#294B82 #3865B0 #5A85CB #89A7DA #B7CAE8

Accessibility & contrast

On white

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

On black

5.65
#5A85CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85CB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85CB#FFFFFF#000000##000000
##5A85CB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACE
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#0C959E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a85cb;
/* rgb */ color: rgb(90, 133, 203);
/* oklch */ color: oklch(61.7% 0.117 259.8);
Tailwind
colors: {
  custom: {
    50: '#90a8db',
    500: '#5a85cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a85cb;
$custom-light: #90a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85cb",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 217.168,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.11694,
    "h": 259.8
  },
  "luminance": 0.23261
}

Semantic roles & 50–950 ramp

primary
#5A85CB
secondary
#D7C6AA
accent
#A54CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5A85CB

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

Preview Lab → · Contrast checker → · Palette generator →

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