#5A85FB#5A85FB

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

Color values

HEX#5A85FB
RGBrgb(90, 133, 251)
HSLhsl(224, 95%, 67%)
HSVhsv(224, 64%, 98%)
CMYKcmyk(64.1%, 47%, 0%, 1.6%)
CIE-LABlab(57.95, 21.71, -63.38)
CIE-LCHlch(57.95, 67.00, 288.91°)
OKLaboklab(64.52% -0.0116 -0.1814)
OKLCHoklch(64.52% 0.182 266.3)
XYZxyz(30.0106, 25.9110, 94.6679)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85FB #FBD05A
analogous
#5AD6FB #5A85FB #805AFB
triadic
#5A85FB #FB5A85 #85FB5A
tetradic
#5A85FB #FB5AD6 #FBD05A #5AFB80
square
#5A85FB #FB5AD6 #FBD05A #5AFB80
split-complementary
#5A85FB #FB805A #D6FB5A
monochromatic
#053DD5 #1E59FA #5A85FB #96B1FC #D2DDFE

Accessibility & contrast

On white

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

On black

6.18
#5A85FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85FB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85FB#FFFFFF#000000##000000
##5A85FB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#2684F9
Tritanopia (blue-blind)
#00A0B4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a85fb;
/* rgb */ color: rgb(90, 133, 251);
/* oklch */ color: oklch(64.5% 0.182 266.3);
Tailwind
colors: {
  custom: {
    50: '#97a8fd',
    500: '#5a85fb',
    950: '#000000',
  },
}
SCSS
$custom: #5a85fb;
$custom-light: #97a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85fb",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 223.975,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64522,
    "c": 0.18181,
    "h": 266.3
  },
  "luminance": 0.25914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A85FB

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

Preview Lab → · Contrast checker → · Palette generator →

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