#5A85F2#5A85F2

#5A85F2 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.9% C 0.170 H 265.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5A85F2
RGBrgb(90, 133, 242)
HSLhsl(223, 85%, 65%)
HSVhsv(223, 63%, 95%)
CMYKcmyk(62.8%, 45%, 0%, 5.1%)
CIE-LABlab(57.42, 18.68, -59.26)
CIE-LCHlch(57.42, 62.14, 287.49°)
OKLaboklab(63.94% -0.0129 -0.1693)
OKLCHoklch(63.94% 0.17 265.6)
XYZxyz(28.6255, 25.3569, 87.3730)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A85F2 #F2C75A
analogous
#5AD1F2 #5A85F2 #7B5AF2
triadic
#5A85F2 #F25A85 #85F25A
tetradic
#5A85F2 #F25AD1 #F2C75A #5AF27B
square
#5A85F2 #F25AD1 #F2C75A #5AF27B
split-complementary
#5A85F2 #F27B5A #D1F25A
monochromatic
#0F42C2 #215BEE #5A85F2 #93AFF6 #CBD9FB

Accessibility & contrast

On white

3.46
#5A85F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5A85F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A85F2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A85F2#FFFFFF#000000##000000
##5A85F21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#3683F0
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a85f2;
/* rgb */ color: rgb(90, 133, 242);
/* oklch */ color: oklch(63.9% 0.170 265.6);
Tailwind
colors: {
  custom: {
    50: '#96a8f7',
    500: '#5a85f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a85f2;
$custom-light: #96a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a85f2",
  "rgb": {
    "r": 90,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 223.026,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63945,
    "c": 0.16982,
    "h": 265.6
  },
  "luminance": 0.2536
}

Semantic roles & 50–950 ramp

primary
#5A85F2
secondary
#EEDFBA
accent
#A304E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5A85F2

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

Preview Lab → · Contrast checker → · Palette generator →

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