#5A85DF#5A85DF

#5A85DF is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.8% C 0.144 H 263.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5A85DF
RGBrgb(90, 133, 223)
HSLhsl(221, 68%, 61%)
HSVhsv(221, 60%, 87%)
CMYKcmyk(59.6%, 40.4%, 0%, 12.5%)
CIE-LABlab(56.36, 12.33, -50.38)
CIE-LCHlch(56.36, 51.87, 283.76°)
OKLaboklab(62.79% -0.0162 -0.1432)
OKLCHoklch(62.79% 0.144 263.5)
XYZxyz(25.9187, 24.2742, 73.1173)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85DF #DFB45A
analogous
#5AC7DF #5A85DF #725ADF
triadic
#5A85DF #DF5A85 #85DF5A
tetradic
#5A85DF #DF5AC7 #DFB45A #5ADF72
square
#5A85DF #DF5AC7 #DFB45A #5ADF72
split-complementary
#5A85DF #DF725A #C7DF5A
monochromatic
#1F49A0 #2960D3 #5A85DF #8DABE9 #C1D1F3

Accessibility & contrast

On white

3.59
#5A85DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5A85DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85DF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85DF#FFFFFF#000000##000000
##5A85DF1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#4B81DD
Tritanopia (blue-blind)
#0099A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a85df;
/* rgb */ color: rgb(90, 133, 223);
/* oklch */ color: oklch(62.8% 0.144 263.5);
Tailwind
colors: {
  custom: {
    50: '#93a8e9',
    500: '#5a85df',
    950: '#000000',
  },
}
SCSS
$custom: #5a85df;
$custom-light: #93a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85df",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 220.602,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62786,
    "c": 0.14417,
    "h": 263.5
  },
  "luminance": 0.24276
}

Semantic roles & 50–950 ramp

primary
#5A85DF
secondary
#E3D3B2
accent
#9416CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A85DF

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

Preview Lab → · Contrast checker → · Palette generator →

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