#5C7DCD#5C7DCD

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

Color values

HEX#5C7DCD
RGBrgb(92, 125, 205)
HSLhsl(222, 53%, 58%)
HSVhsv(222, 55%, 80%)
CMYKcmyk(55.1%, 39%, 0%, 19.6%)
CIE-LABlab(53.33, 11.67, -45.04)
CIE-LCHlch(53.33, 46.53, 284.53°)
OKLaboklab(60.16% -0.0094 -0.1277)
OKLCHoklch(60.16% 0.128 265.8)
XYZxyz(22.7630, 21.3486, 60.6669)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7DCD #CDAC5C
analogous
#5CB5CD #5C7DCD #735CCD
triadic
#5C7DCD #CD5C7D #7DCD5C
tetradic
#5C7DCD #CD5CB5 #CDAC5C #5CCD73
square
#5C7DCD #CD5CB5 #CDAC5C #5CCD73
split-complementary
#5C7DCD #CD735C #B5CD5C
monochromatic
#294486 #375CB4 #5C7DCD #8BA2DB #BAC8EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7DCD#FFFFFF#000000##000000
##5C7DCD1.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)
#5C85D0
Deuteranopia (green-blind)
#4E7BCB
Tritanopia (blue-blind)
#198F9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c7dcd;
/* rgb */ color: rgb(92, 125, 205);
/* oklch */ color: oklch(60.2% 0.128 265.8);
Tailwind
colors: {
  custom: {
    50: '#92a2dc',
    500: '#5c7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5c7dcd;
$custom-light: #92a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7dcd",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 222.478,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.12802,
    "h": 265.8
  },
  "luminance": 0.2135
}

Semantic roles & 50–950 ramp

primary
#5C7DCD
secondary
#D9CCAC
accent
#B24BDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #5C7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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