#5D7BDC#5D7BDC

#5D7BDC is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.151 H 268.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5D7BDC
RGBrgb(93, 123, 220)
HSLhsl(226, 64%, 61%)
HSVhsv(226, 58%, 86%)
CMYKcmyk(57.7%, 44.1%, 0%, 13.7%)
CIE-LABlab(53.66, 17.99, -52.99)
CIE-LCHlch(53.66, 55.96, 288.75°)
OKLaboklab(60.7% -0.0035 -0.1509)
OKLCHoklch(60.7% 0.151 268.7)
XYZxyz(24.5111, 21.6584, 70.5851)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BDC #DCBE5D
analogous
#5DBBDC #5D7BDC #7F5DDC
triadic
#5D7BDC #DC5D7B #7BDC5D
tetradic
#5D7BDC #DC5DBB #DCBE5D #5DDC7F
square
#5D7BDC #DC5DBB #DCBE5D #5DDC7F
split-complementary
#5D7BDC #DC7F5D #BBDC5D
monochromatic
#223F9D #2D53CF #5D7BDC #8FA4E7 #C2CDF2

Accessibility & contrast

On white

3.94
#5D7BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5D7BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BDC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BDC#FFFFFF#000000##000000
##5D7BDC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d7bdc;
/* rgb */ color: rgb(93, 123, 220);
/* oklch */ color: oklch(60.7% 0.151 268.7);
Tailwind
colors: {
  custom: {
    50: '#94a0e7',
    500: '#5d7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #5d7bdc;
$custom-light: #94a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7bdc",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 225.827,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60699,
    "c": 0.15099,
    "h": 268.7
  },
  "luminance": 0.2166
}

Semantic roles & 50–950 ramp

primary
#5D7BDC
secondary
#E2D7B3
accent
#A219CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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