#5A6ECD#5A6ECD

#5A6ECD is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.147 H 272.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5A6ECD
RGBrgb(90, 110, 205)
HSLhsl(230, 53%, 58%)
HSVhsv(230, 56%, 80%)
CMYKcmyk(56.1%, 46.3%, 0%, 19.6%)
CIE-LABlab(49.17, 20.45, -51.67)
CIE-LCHlch(49.17, 55.57, 291.59°)
OKLaboklab(56.94% 0.0052 -0.1473)
OKLCHoklch(56.94% 0.147 272)
XYZxyz(20.8082, 17.7318, 60.0718)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6ECD #CDB95A
analogous
#5AA7CD #5A6ECD #7F5ACD
triadic
#5A6ECD #CD5A6E #6ECD5A
tetradic
#5A6ECD #CD5AA7 #CDB95A #5ACD7F
square
#5A6ECD #CD5AA7 #CDB95A #5ACD7F
split-complementary
#5A6ECD #CD7F5A #A7CD5A
monochromatic
#283884 #364CB3 #5A6ECD #8997DB #B8C1E9

Accessibility & contrast

On white

4.62
#5A6ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5A6ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6ECD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6ECD#FFFFFF#000000##FFFFFF
##5A6ECD1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#158393
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a6ecd;
/* rgb */ color: rgb(90, 110, 205);
/* oklch */ color: oklch(56.9% 0.147 272.0);
Tailwind
colors: {
  custom: {
    50: '#9197dd',
    500: '#5a6ecd',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ecd;
$custom-light: #9197dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ecd",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 229.565,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56941,
    "c": 0.14739,
    "h": 272
  },
  "luminance": 0.17733
}

Semantic roles & 50–950 ramp

primary
#5A6ECD
secondary
#D8D0AA
accent
#C34BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5A6ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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