#5A85D2#5A85D2

#5A85D2 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.0% C 0.126 H 261.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5A85D2
RGBrgb(90, 133, 210)
HSLhsl(219, 57%, 59%)
HSVhsv(219, 57%, 82%)
CMYKcmyk(57.1%, 36.7%, 0%, 17.6%)
CIE-LABlab(55.69, 8.06, -44.15)
CIE-LCHlch(55.69, 44.88, 280.35°)
OKLaboklab(62.04% -0.0191 -0.125)
OKLCHoklch(62.04% 0.126 261.3)
XYZxyz(24.2328, 23.5999, 64.2385)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85D2 #D2A75A
analogous
#5AC1D2 #5A85D2 #6B5AD2
triadic
#5A85D2 #D25A85 #85D25A
tetradic
#5A85D2 #D25AC1 #D2A75A #5AD26B
square
#5A85D2 #D25AC1 #D2A75A #5AD26B
split-complementary
#5A85D2 #D26B5A #C1D25A
monochromatic
#264A8C #3364BC #5A85D2 #8AA9DF #BACCEC

Accessibility & contrast

On white

3.67
#5A85D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5A85D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85D2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85D2#FFFFFF#000000##000000
##5A85D21.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#658BD5
Deuteranopia (green-blind)
#5680D0
Tritanopia (blue-blind)
#0096A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a85d2;
/* rgb */ color: rgb(90, 133, 210);
/* oklch */ color: oklch(62.0% 0.126 261.3);
Tailwind
colors: {
  custom: {
    50: '#91a8e0',
    500: '#5a85d2',
    950: '#000000',
  },
}
SCSS
$custom: #5a85d2;
$custom-light: #91a8e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85d2",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 210
  },
  "hsl": {
    "h": 218.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62042,
    "c": 0.12647,
    "h": 261.3
  },
  "luminance": 0.23602
}

Semantic roles & 50–950 ramp

primary
#5A85D2
secondary
#DCCBAC
accent
#AA47E0
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5A85D2

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

Preview Lab → · Contrast checker → · Palette generator →

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