#5A6BDC#5A6BDC

#5A6BDC is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.4% C 0.172 H 273.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5A6BDC
RGBrgb(90, 107, 220)
HSLhsl(232, 65%, 61%)
HSVhsv(232, 59%, 86%)
CMYKcmyk(59.1%, 51.4%, 0%, 13.7%)
CIE-LABlab(49.32, 27.24, -59.96)
CIE-LCHlch(49.32, 65.86, 294.43°)
OKLaboklab(57.35% 0.0099 -0.1717)
OKLCHoklch(57.35% 0.172 273.3)
XYZxyz(22.3882, 17.8546, 69.9628)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BDC #DCCB5A
analogous
#5AACDC #5A6BDC #8A5ADC
triadic
#5A6BDC #DC5A6B #6BDC5A
tetradic
#5A6BDC #DC5AAC #DCCB5A #5ADC8A
square
#5A6BDC #DC5AAC #DCCB5A #5ADC8A
split-complementary
#5A6BDC #DC8A5A #ACDC5A
monochromatic
#21319B #2C41CD #5A6BDC #8C98E7 #BFC6F1

Accessibility & contrast

On white

4.59
#5A6BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5A6BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6BDC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BDC#FFFFFF#000000##FFFFFF
##5A6BDC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BE0
Deuteranopia (green-blind)
#0370DA
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a6bdc;
/* rgb */ color: rgb(90, 107, 220);
/* oklch */ color: oklch(57.4% 0.172 273.3);
Tailwind
colors: {
  custom: {
    50: '#9495e8',
    500: '#5a6bdc',
    950: '#000000',
  },
}
SCSS
$custom: #5a6bdc;
$custom-light: #9495e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6bdc",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 220
  },
  "hsl": {
    "h": 232.154,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.172,
    "h": 273.3
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#5A6BDC
secondary
#E2DBB0
accent
#B519CD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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