#5D7AC0#5D7AC0

#5D7AC0 is a mid, moderate blue. Relative luminance 0.201; OKLCH L 58.9% C 0.113 H 266.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5D7AC0
RGBrgb(93, 122, 192)
HSLhsl(222, 44%, 56%)
HSVhsv(222, 52%, 75%)
CMYKcmyk(51.6%, 36.5%, 0%, 24.7%)
CIE-LABlab(51.89, 9.55, -39.89)
CIE-LCHlch(51.89, 41.02, 283.46°)
OKLaboklab(58.85% -0.0079 -0.1126)
OKLCHoklch(58.85% 0.113 266)
XYZxyz(20.9850, 20.0505, 52.6233)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7AC0 #C0A35D
analogous
#5DABC0 #5D7AC0 #715DC0
triadic
#5D7AC0 #C05D7A #7AC05D
tetradic
#5D7AC0 #C05DAB #C0A35D #5DC071
square
#5D7AC0 #C05DAB #C0A35D #5DC071
split-complementary
#5D7AC0 #C0715D #ABC05D
monochromatic
#2E4275 #3F5CA1 #5D7AC0 #899ED1 #B5C2E2

Accessibility & contrast

On white

4.19
#5D7AC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5D7AC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7AC0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7AC0#FFFFFF#000000##000000
##5D7AC01.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F81C3
Deuteranopia (green-blind)
#5378BE
Tritanopia (blue-blind)
#2F8994
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d7ac0;
/* rgb */ color: rgb(93, 122, 192);
/* oklch */ color: oklch(58.9% 0.113 266.0);
Tailwind
colors: {
  custom: {
    50: '#91a0d3',
    500: '#5d7ac0',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ac0;
$custom-light: #91a0d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ac0",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 192
  },
  "hsl": {
    "h": 222.424,
    "s": 44,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58851,
    "c": 0.11292,
    "h": 266
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#5D7AC0
secondary
#D1C5A8
accent
#AE54D4
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5D7AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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