#5D7ABA#5D7ABA

#5D7ABA is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.5% C 0.104 H 264.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5D7ABA
RGBrgb(93, 122, 186)
HSLhsl(221, 40%, 55%)
HSVhsv(221, 50%, 73%)
CMYKcmyk(50%, 34.4%, 0%, 27.1%)
CIE-LABlab(51.60, 7.67, -36.92)
CIE-LCHlch(51.60, 37.70, 281.73°)
OKLaboklab(58.53% -0.0094 -0.104)
OKLCHoklch(58.53% 0.104 264.8)
XYZxyz(20.3337, 19.7900, 49.1932)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7ABA #BA9D5D
analogous
#5DA9BA #5D7ABA #6E5DBA
triadic
#5D7ABA #BA5D7A #7ABA5D
tetradic
#5D7ABA #BA5DA9 #BA9D5D #5DBA6E
square
#5D7ABA #BA5DA9 #BA9D5D #5DBA6E
split-complementary
#5D7ABA #BA6E5D #A9BA5D
monochromatic
#2F426E #415C99 #5D7ABA #889DCC #B3C0DF

Accessibility & contrast

On white

4.24
#5D7ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5D7ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7ABA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7ABA#FFFFFF#000000##000000
##5D7ABA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BD
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#348891
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d7aba;
/* rgb */ color: rgb(93, 122, 186);
/* oklch */ color: oklch(58.5% 0.104 264.8);
Tailwind
colors: {
  custom: {
    50: '#90a0cf',
    500: '#5d7aba',
    950: '#000000',
  },
}
SCSS
$custom: #5d7aba;
$custom-light: #90a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7aba",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 221.29,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.10439,
    "h": 264.8
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#5D7ABA
secondary
#CDC1A6
accent
#AB58D0
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5D7ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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