#5D7BC7#5D7BC7

#5D7BC7 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.5% C 0.122 H 266.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5D7BC7
RGBrgb(93, 123, 199)
HSLhsl(223, 49%, 57%)
HSVhsv(223, 53%, 78%)
CMYKcmyk(53.3%, 38.2%, 0%, 22%)
CIE-LABlab(52.53, 11.17, -42.90)
CIE-LCHlch(52.53, 44.33, 284.60°)
OKLaboklab(59.46% -0.0075 -0.1214)
OKLCHoklch(59.46% 0.122 266.5)
XYZxyz(21.9025, 20.6150, 56.8467)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BC7 #C7A95D
analogous
#5DB0C7 #5D7BC7 #745DC7
triadic
#5D7BC7 #C75D7B #7BC75D
tetradic
#5D7BC7 #C75DB0 #C7A95D #5DC774
square
#5D7BC7 #C75DB0 #C7A95D #5DC774
split-complementary
#5D7BC7 #C7745D #B0C75D
monochromatic
#2C437E #3B5BAC #5D7BC7 #8AA0D7 #B8C5E6

Accessibility & contrast

On white

4.10
#5D7BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5D7BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BC7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BC7#FFFFFF#000000##000000
##5D7BC71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CA
Deuteranopia (green-blind)
#5079C5
Tritanopia (blue-blind)
#278B97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d7bc7;
/* rgb */ color: rgb(93, 123, 199);
/* oklch */ color: oklch(59.5% 0.122 266.5);
Tailwind
colors: {
  custom: {
    50: '#92a0d8',
    500: '#5d7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #5d7bc7;
$custom-light: #92a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7bc7",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 223.019,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59455,
    "c": 0.12163,
    "h": 266.5
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#5D7BC7
secondary
#D5C9AA
accent
#B250D8
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5D7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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