#5D7FCF#5D7FCF

#5D7FCF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.8% C 0.128 H 265.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5D7FCF
RGBrgb(93, 127, 207)
HSLhsl(222, 54%, 59%)
HSVhsv(222, 55%, 81%)
CMYKcmyk(55.1%, 38.6%, 0%, 18.8%)
CIE-LABlab(54.04, 11.32, -45.05)
CIE-LCHlch(54.04, 46.45, 284.11°)
OKLaboklab(60.76% -0.0103 -0.1277)
OKLCHoklch(60.76% 0.128 265.4)
XYZxyz(23.3623, 22.0091, 62.0365)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FCF #CFAD5D
analogous
#5DB8CF #5D7FCF #745DCF
triadic
#5D7FCF #CF5D7F #7FCF5D
tetradic
#5D7FCF #CF5DB8 #CFAD5D #5DCF74
square
#5D7FCF #CF5DB8 #CFAD5D #5DCF74
split-complementary
#5D7FCF #CF745D #B8CF5D
monochromatic
#294589 #375DB8 #5D7FCF #8CA4DD #BBCAEB

Accessibility & contrast

On white

3.89
#5D7FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5D7FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FCF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FCF#FFFFFF#000000##000000
##5D7FCF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D2
Deuteranopia (green-blind)
#507CCD
Tritanopia (blue-blind)
#19919D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d7fcf;
/* rgb */ color: rgb(93, 127, 207);
/* oklch */ color: oklch(60.8% 0.128 265.4);
Tailwind
colors: {
  custom: {
    50: '#93a3de',
    500: '#5d7fcf',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fcf;
$custom-light: #93a3de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fcf",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 222.105,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60758,
    "c": 0.12806,
    "h": 265.4
  },
  "luminance": 0.22011
}

Semantic roles & 50–950 ramp

primary
#5D7FCF
secondary
#DACDAD
accent
#B24ADE
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5D7FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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