#5A85F7#5A85F7

#5A85F7 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.3% C 0.176 H 266.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5A85F7
RGBrgb(90, 133, 247)
HSLhsl(224, 91%, 66%)
HSVhsv(224, 64%, 97%)
CMYKcmyk(63.6%, 46.2%, 0%, 3.1%)
CIE-LABlab(57.71, 20.36, -61.56)
CIE-LCHlch(57.71, 64.84, 288.30°)
OKLaboklab(64.26% -0.0122 -0.1761)
OKLCHoklch(64.26% 0.177 266)
XYZxyz(29.3867, 25.6614, 91.3821)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85F7 #F7CC5A
analogous
#5AD3F7 #5A85F7 #7D5AF7
triadic
#5A85F7 #F75A85 #85F75A
tetradic
#5A85F7 #F75AD3 #F7CC5A #5AF77D
square
#5A85F7 #F75AD3 #F7CC5A #5AF77D
split-complementary
#5A85F7 #F77D5A #D3F75A
monochromatic
#0A3FCD #205AF4 #5A85F7 #94B0FA #CFDBFD

Accessibility & contrast

On white

3.42
#5A85F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5A85F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85F7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85F7#FFFFFF#000000##000000
##5A85F71.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#2E84F5
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a85f7;
/* rgb */ color: rgb(90, 133, 247);
/* oklch */ color: oklch(64.3% 0.176 266.0);
Tailwind
colors: {
  custom: {
    50: '#97a8fa',
    500: '#5a85f7',
    950: '#000000',
  },
}
SCSS
$custom: #5a85f7;
$custom-light: #97a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85f7",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 223.567,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64263,
    "c": 0.1765,
    "h": 266
  },
  "luminance": 0.25664
}

Semantic roles & 50–950 ramp

primary
#5A85F7
secondary
#F0E2BD
accent
#A700E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5A85F7

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

Preview Lab → · Contrast checker → · Palette generator →

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