#5D7ECC#5D7ECC

#5D7ECC is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.4% C 0.125 H 265.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5D7ECC
RGBrgb(93, 126, 204)
HSLhsl(222, 52%, 58%)
HSVhsv(222, 54%, 80%)
CMYKcmyk(54.4%, 38.2%, 0%, 20%)
CIE-LABlab(53.61, 10.96, -44.03)
CIE-LCHlch(53.61, 45.37, 283.98°)
OKLaboklab(60.38% -0.0098 -0.1247)
OKLCHoklch(60.38% 0.125 265.5)
XYZxyz(22.8705, 21.6068, 60.0804)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7ECC #CCAB5D
analogous
#5DB5CC #5D7ECC #735DCC
triadic
#5D7ECC #CC5D7E #7ECC5D
tetradic
#5D7ECC #CC5DB5 #CCAB5D #5DCC73
square
#5D7ECC #CC5DB5 #CCAB5D #5DCC73
split-complementary
#5D7ECC #CC735D #B5CC5D
monochromatic
#2A4585 #385DB3 #5D7ECC #8CA3DB #BAC8E9

Accessibility & contrast

On white

3.95
#5D7ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5D7ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7ECC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7ECC#FFFFFF#000000##000000
##5D7ECC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86CF
Deuteranopia (green-blind)
#517BCA
Tritanopia (blue-blind)
#1F8F9B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d7ecc;
/* rgb */ color: rgb(93, 126, 204);
/* oklch */ color: oklch(60.4% 0.125 265.5);
Tailwind
colors: {
  custom: {
    50: '#92a3dc',
    500: '#5d7ecc',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ecc;
$custom-light: #92a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ecc",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 222.162,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60375,
    "c": 0.12507,
    "h": 265.5
  },
  "luminance": 0.21608
}

Semantic roles & 50–950 ramp

primary
#5D7ECC
secondary
#D9CBAC
accent
#B14CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #5D7ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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