#5A85F0#5A85F0

#5A85F0 is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.8% C 0.167 H 265.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5A85F0
RGBrgb(90, 133, 240)
HSLhsl(223, 83%, 65%)
HSVhsv(223, 63%, 94%)
CMYKcmyk(62.5%, 44.6%, 0%, 5.9%)
CIE-LABlab(57.31, 18.01, -58.34)
CIE-LCHlch(57.31, 61.06, 287.15°)
OKLaboklab(63.82% -0.0132 -0.1666)
OKLCHoklch(63.82% 0.167 265.5)
XYZxyz(28.3267, 25.2374, 85.7997)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85F0 #F0C55A
analogous
#5AD0F0 #5A85F0 #7A5AF0
triadic
#5A85F0 #F05A85 #85F05A
tetradic
#5A85F0 #F05AD0 #F0C55A #5AF07A
square
#5A85F0 #F05AD0 #F0C55A #5AF07A
split-complementary
#5A85F0 #F07A5A #D0F05A
monochromatic
#1143BE #225CEB #5A85F0 #92AEF5 #CAD8FA

Accessibility & contrast

On white

3.47
#5A85F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5A85F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85F0
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85F0#FFFFFF#000000##000000
##5A85F01.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F4
Deuteranopia (green-blind)
#3983EE
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a85f0;
/* rgb */ color: rgb(90, 133, 240);
/* oklch */ color: oklch(63.8% 0.167 265.5);
Tailwind
colors: {
  custom: {
    50: '#96a8f5',
    500: '#5a85f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a85f0;
$custom-light: #96a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85f0",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 240
  },
  "hsl": {
    "h": 222.8,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63819,
    "c": 0.16714,
    "h": 265.5
  },
  "luminance": 0.2524
}

Semantic roles & 50–950 ramp

primary
#5A85F0
secondary
#EDDEB9
accent
#A106E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A85F0

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

Preview Lab → · Contrast checker → · Palette generator →

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