#5A6DDC#5A6DDC

#5A6DDC is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.7% C 0.169 H 272.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5A6DDC
RGBrgb(90, 109, 220)
HSLhsl(231, 65%, 61%)
HSVhsv(231, 59%, 86%)
CMYKcmyk(59.1%, 50.5%, 0%, 13.7%)
CIE-LABlab(49.83, 26.01, -59.14)
CIE-LCHlch(49.83, 64.61, 293.74°)
OKLaboklab(57.74% 0.0079 -0.1693)
OKLCHoklch(57.74% 0.169 272.7)
XYZxyz(22.5991, 18.2765, 70.0331)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6DDC #DCC95A
analogous
#5AAEDC #5A6DDC #885ADC
triadic
#5A6DDC #DC5A6D #6DDC5A
tetradic
#5A6DDC #DC5AAE #DCC95A #5ADC88
square
#5A6DDC #DC5AAE #DCC95A #5ADC88
split-complementary
#5A6DDC #DC885A #AEDC5A
monochromatic
#21339B #2C43CD #5A6DDC #8C9AE7 #BFC6F1

Accessibility & contrast

On white

4.51
#5A6DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5A6DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6DDC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6DDC#FFFFFF#000000##000000
##5A6DDC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CE0
Deuteranopia (green-blind)
#1271DA
Tritanopia (blue-blind)
#00869A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a6ddc;
/* rgb */ color: rgb(90, 109, 220);
/* oklch */ color: oklch(57.7% 0.169 272.7);
Tailwind
colors: {
  custom: {
    50: '#9396e7',
    500: '#5a6ddc',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ddc;
$custom-light: #9396e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ddc",
  "rgb": {
    "r": 90,
    "g": 109,
    "b": 220
  },
  "hsl": {
    "h": 231.231,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.16946,
    "h": 272.7
  },
  "luminance": 0.18278
}

Semantic roles & 50–950 ramp

primary
#5A6DDC
secondary
#E2DAB0
accent
#B219CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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