#5A6DE8#5A6DE8

#5A6DE8 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.6% C 0.186 H 272.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5A6DE8
RGBrgb(90, 109, 232)
HSLhsl(232, 76%, 63%)
HSVhsv(232, 61%, 91%)
CMYKcmyk(61.2%, 53%, 0%, 9%)
CIE-LABlab(50.61, 29.99, -64.64)
CIE-LCHlch(50.61, 71.26, 294.89°)
OKLaboklab(58.58% 0.0088 -0.1855)
OKLCHoklch(58.58% 0.186 272.7)
XYZxyz(24.2457, 18.9351, 78.7054)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6DE8 #E8D55A
analogous
#5AB4E8 #5A6DE8 #8E5AE8
triadic
#5A6DE8 #E85A6D #6DE85A
tetradic
#5A6DE8 #E85AB4 #E8D55A #5AE88E
square
#5A6DE8 #E85AB4 #E8D55A #5AE88E
split-complementary
#5A6DE8 #E88E5A #B4E85A
monochromatic
#182DAF #243DE1 #5A6DE8 #909DEF #C5CCF7

Accessibility & contrast

On white

4.39
#5A6DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5A6DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6DE8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6DE8#FFFFFF#000000##000000
##5A6DE81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7FEC
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#008AA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6de8;
/* rgb */ color: rgb(90, 109, 232);
/* oklch */ color: oklch(58.6% 0.186 272.7);
Tailwind
colors: {
  custom: {
    50: '#9596f0',
    500: '#5a6de8',
    950: '#000000',
  },
}
SCSS
$custom: #5a6de8;
$custom-light: #9596f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6de8",
  "rgb": {
    "r": 90,
    "g": 109,
    "b": 232
  },
  "hsl": {
    "h": 231.972,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58576,
    "c": 0.18567,
    "h": 272.7
  },
  "luminance": 0.18937
}

Semantic roles & 50–950 ramp

primary
#5A6DE8
secondary
#E8E2B5
accent
#BD0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5A6DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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