#5A5DBD#5A5DBD

#5A5DBD is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.148 H 278.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5A5DBD
RGBrgb(90, 93, 189)
HSLhsl(238, 43%, 55%)
HSVhsv(238, 52%, 74%)
CMYKcmyk(52.4%, 50.8%, 0%, 25.9%)
CIE-LABlab(43.76, 25.83, -51.12)
CIE-LCHlch(43.76, 57.27, 296.81°)
OKLaboklab(52.53% 0.0223 -0.1458)
OKLCHoklch(52.53% 0.148 278.7)
XYZxyz(17.3132, 13.6754, 49.8616)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5DBD #BDBA5A
analogous
#5A8EBD #5A5DBD #895ABD
triadic
#5A5DBD #BD5A5D #5DBD5A
tetradic
#5A5DBD #BD5A8E #BDBA5A #5ABD89
square
#5A5DBD #BD5A8E #BDBA5A #5ABD89
split-complementary
#5A5DBD #BD895A #8EBD5A
monochromatic
#2D2F70 #3E419C #5A5DBD #8688CE #B1B3E0

Accessibility & contrast

On white

5.62
#5A5DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5A5DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5DBD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5DBD#FFFFFF#000000##FFFFFF
##5A5DBD1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC0
Deuteranopia (green-blind)
#2264BB
Tritanopia (blue-blind)
#307284
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a5dbd;
/* rgb */ color: rgb(90, 93, 189);
/* oklch */ color: oklch(52.5% 0.148 278.7);
Tailwind
colors: {
  custom: {
    50: '#908ad1',
    500: '#5a5dbd',
    950: '#000000',
  },
}
SCSS
$custom: #5a5dbd;
$custom-light: #908ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5dbd",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 238.182,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.14751,
    "h": 278.7
  },
  "luminance": 0.13676
}

Semantic roles & 50–950 ramp

primary
#5A5DBD
secondary
#CECDA5
accent
#CF55D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5A5DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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