#5D7FD2#5D7FD2

#5D7FD2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.9% C 0.132 H 265.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5D7FD2
RGBrgb(93, 127, 210)
HSLhsl(223, 57%, 59%)
HSVhsv(223, 56%, 82%)
CMYKcmyk(55.7%, 39.5%, 0%, 17.6%)
CIE-LABlab(54.19, 12.29, -46.50)
CIE-LCHlch(54.19, 48.10, 284.81°)
OKLaboklab(60.93% -0.0097 -0.1319)
OKLCHoklch(60.93% 0.132 265.8)
XYZxyz(23.7325, 22.1572, 63.9864)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FD2 #D2B05D
analogous
#5DBAD2 #5D7FD2 #765DD2
triadic
#5D7FD2 #D25D7F #7FD25D
tetradic
#5D7FD2 #D25DBA #D2B05D #5DD276
square
#5D7FD2 #D25DBA #D2B05D #5DD276
split-complementary
#5D7FD2 #D2765D #BAD25D
monochromatic
#27458D #355CBD #5D7FD2 #8DA5DF #BDCBED

Accessibility & contrast

On white

3.87
#5D7FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5D7FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FD2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FD2#FFFFFF#000000##000000
##5D7FD21.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C87D5
Deuteranopia (green-blind)
#4E7DD0
Tritanopia (blue-blind)
#12919E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d7fd2;
/* rgb */ color: rgb(93, 127, 210);
/* oklch */ color: oklch(60.9% 0.132 265.8);
Tailwind
colors: {
  custom: {
    50: '#93a3e0',
    500: '#5d7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fd2;
$custom-light: #93a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fd2",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 222.564,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6093,
    "c": 0.13224,
    "h": 265.8
  },
  "luminance": 0.22159
}

Semantic roles & 50–950 ramp

primary
#5D7FD2
secondary
#DCCFAF
accent
#B448E0
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5D7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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