#5A85FA#5A85FA

#5A85FA is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.5% C 0.180 H 266.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5A85FA
RGBrgb(90, 133, 250)
HSLhsl(224, 94%, 67%)
HSVhsv(224, 64%, 98%)
CMYKcmyk(64%, 46.8%, 0%, 2%)
CIE-LABlab(57.89, 21.37, -62.93)
CIE-LCHlch(57.89, 66.46, 288.76°)
OKLaboklab(64.46% -0.0118 -0.1801)
OKLCHoklch(64.46% 0.18 266.3)
XYZxyz(29.8533, 25.8481, 93.8399)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85FA #FACF5A
analogous
#5AD5FA #5A85FA #7F5AFA
triadic
#5A85FA #FA5A85 #85FA5A
tetradic
#5A85FA #FA5AD5 #FACF5A #5AFA7F
square
#5A85FA #FA5AD5 #FACF5A #5AFA7F
split-complementary
#5A85FA #FA7F5A #D5FA5A
monochromatic
#063DD3 #1F59F8 #5A85FA #95B1FC #D1DDFE

Accessibility & contrast

On white

3.40
#5A85FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5A85FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85FA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85FA#FFFFFF#000000##000000
##5A85FA1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FE
Deuteranopia (green-blind)
#2884F8
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a85fa;
/* rgb */ color: rgb(90, 133, 250);
/* oklch */ color: oklch(64.5% 0.180 266.3);
Tailwind
colors: {
  custom: {
    50: '#97a8fd',
    500: '#5a85fa',
    950: '#000000',
  },
}
SCSS
$custom: #5a85fa;
$custom-light: #97a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85fa",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 223.875,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64457,
    "c": 0.18048,
    "h": 266.3
  },
  "luminance": 0.25851
}

Semantic roles & 50–950 ramp

primary
#5A85FA
secondary
#F2E4BE
accent
#A800E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5A85FA

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

Preview Lab → · Contrast checker → · Palette generator →

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