#5A85FD#5A85FD

#5A85FD is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.7% C 0.184 H 266.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5A85FD
RGBrgb(90, 133, 253)
HSLhsl(224, 98%, 67%)
HSVhsv(224, 64%, 99%)
CMYKcmyk(64.4%, 47.4%, 0%, 0.8%)
CIE-LABlab(58.07, 22.39, -64.29)
CIE-LCHlch(58.07, 68.08, 289.20°)
OKLaboklab(64.65% -0.0114 -0.1841)
OKLCHoklch(64.65% 0.184 266.5)
XYZxyz(30.3275, 26.0377, 96.3370)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85FD #FDD25A
analogous
#5AD6FD #5A85FD #815AFD
triadic
#5A85FD #FD5A85 #85FD5A
tetradic
#5A85FD #FD5AD6 #FDD25A #5AFD81
square
#5A85FD #FD5AD6 #FDD25A #5AFD81
split-complementary
#5A85FD #FD815A #D6FD5A
monochromatic
#033BDA #1E58FC #5A85FD #96B2FE #D3DEFE

Accessibility & contrast

On white

3.38
#5A85FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5A85FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85FD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85FD#FFFFFF#000000##000000
##5A85FD1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#2185FB
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a85fd;
/* rgb */ color: rgb(90, 133, 253);
/* oklch */ color: oklch(64.7% 0.184 266.5);
Tailwind
colors: {
  custom: {
    50: '#98a8ff',
    500: '#5a85fd',
    950: '#000000',
  },
}
SCSS
$custom: #5a85fd;
$custom-light: #98a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85fd",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 253
  },
  "hsl": {
    "h": 224.172,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64652,
    "c": 0.18446,
    "h": 266.5
  },
  "luminance": 0.26041
}

Semantic roles & 50–950 ramp

primary
#5A85FD
secondary
#F3E6C0
accent
#A900E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A85FD

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

Preview Lab → · Contrast checker → · Palette generator →

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