#5A6DE9#5A6DE9

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

Color values

HEX#5A6DE9
RGBrgb(90, 109, 233)
HSLhsl(232, 76%, 63%)
HSVhsv(232, 61%, 91%)
CMYKcmyk(61.4%, 53.2%, 0%, 8.6%)
CIE-LABlab(50.68, 30.32, -65.10)
CIE-LCHlch(50.68, 71.81, 294.97°)
OKLaboklab(58.65% 0.0089 -0.1868)
OKLCHoklch(58.65% 0.187 272.7)
XYZxyz(24.3882, 18.9921, 79.4556)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6DE9 #E9D65A
analogous
#5AB4E9 #5A6DE9 #8E5AE9
triadic
#5A6DE9 #E95A6D #6DE95A
tetradic
#5A6DE9 #E95AB4 #E9D65A #5AE98E
square
#5A6DE9 #E95AB4 #E9D65A #5AE98E
split-complementary
#5A6DE9 #E98E5A #B4E95A
monochromatic
#182CB1 #243DE2 #5A6DE9 #909DF0 #C6CDF7

Accessibility & contrast

On white

4.38
#5A6DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5A6DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6DE9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6DE9#FFFFFF#000000##000000
##5A6DE91.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#197FED
Deuteranopia (green-blind)
#0073E6
Tritanopia (blue-blind)
#008AA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a6de9;
/* rgb */ color: rgb(90, 109, 233);
/* oklch */ color: oklch(58.6% 0.187 272.7);
Tailwind
colors: {
  custom: {
    50: '#9696f1',
    500: '#5a6de9',
    950: '#000000',
  },
}
SCSS
$custom: #5a6de9;
$custom-light: #9696f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6de9",
  "rgb": {
    "r": 90,
    "g": 109,
    "b": 233
  },
  "hsl": {
    "h": 232.028,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58647,
    "c": 0.187,
    "h": 272.7
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#5A6DE9
secondary
#E9E2B6
accent
#BE0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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