#5D7DCC#5D7DCC

#5D7DCC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.2% C 0.126 H 266.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5D7DCC
RGBrgb(93, 125, 204)
HSLhsl(223, 52%, 58%)
HSVhsv(223, 54%, 80%)
CMYKcmyk(54.4%, 38.7%, 0%, 20%)
CIE-LABlab(53.33, 11.57, -44.46)
CIE-LCHlch(53.33, 45.94, 284.58°)
OKLaboklab(60.16% -0.0087 -0.126)
OKLCHoklch(60.16% 0.126 266.1)
XYZxyz(22.7433, 21.3523, 60.0380)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7DCC #CCAC5D
analogous
#5DB4CC #5D7DCC #745DCC
triadic
#5D7DCC #CC5D7D #7DCC5D
tetradic
#5D7DCC #CC5DB4 #CCAC5D #5DCC74
square
#5D7DCC #CC5DB4 #CCAC5D #5DCC74
split-complementary
#5D7DCC #CC745D #B4CC5D
monochromatic
#2A4485 #385CB3 #5D7DCC #8CA2DB #BAC8E9

Accessibility & contrast

On white

3.98
#5D7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5D7DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7DCC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7DCC#FFFFFF#000000##000000
##5D7DCC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CF
Deuteranopia (green-blind)
#4F7BCA
Tritanopia (blue-blind)
#1F8E9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d7dcc;
/* rgb */ color: rgb(93, 125, 204);
/* oklch */ color: oklch(60.2% 0.126 266.1);
Tailwind
colors: {
  custom: {
    50: '#92a2dc',
    500: '#5d7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #5d7dcc;
$custom-light: #92a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7dcc",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 222.703,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60163,
    "c": 0.12626,
    "h": 266.1
  },
  "luminance": 0.21354
}

Semantic roles & 50–950 ramp

primary
#5D7DCC
secondary
#D9CCAC
accent
#B24CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #5D7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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