#5A6BCD#5A6BCD

#5A6BCD is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.3% C 0.151 H 273.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5A6BCD
RGBrgb(90, 107, 205)
HSLhsl(231, 53%, 58%)
HSVhsv(231, 56%, 80%)
CMYKcmyk(56.1%, 47.8%, 0%, 19.6%)
CIE-LABlab(48.38, 22.30, -52.94)
CIE-LCHlch(48.38, 57.44, 292.85°)
OKLaboklab(56.34% 0.0084 -0.151)
OKLCHoklch(56.34% 0.151 273.2)
XYZxyz(20.4900, 17.0953, 59.9658)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BCD #CDBC5A
analogous
#5AA5CD #5A6BCD #825ACD
triadic
#5A6BCD #CD5A6B #6BCD5A
tetradic
#5A6BCD #CD5AA5 #CDBC5A #5ACD82
square
#5A6BCD #CD5AA5 #CDBC5A #5ACD82
split-complementary
#5A6BCD #CD825A #A5CD5A
monochromatic
#283684 #3649B3 #5A6BCD #8995DB #B8BFE9

Accessibility & contrast

On white

4.75
#5A6BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5A6BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6BCD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BCD#FFFFFF#000000##FFFFFF
##5A6BCD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#2C6ECB
Tritanopia (blue-blind)
#168192
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a6bcd;
/* rgb */ color: rgb(90, 107, 205);
/* oklch */ color: oklch(56.3% 0.151 273.2);
Tailwind
colors: {
  custom: {
    50: '#9195dd',
    500: '#5a6bcd',
    950: '#000000',
  },
}
SCSS
$custom: #5a6bcd;
$custom-light: #9195dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6bcd",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 231.13,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56341,
    "c": 0.15128,
    "h": 273.2
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

primary
#5A6BCD
secondary
#D8D2AA
accent
#C74BDD
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5A6BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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