#5D7DFD#5D7DFD

#5D7DFD is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.2% C 0.193 H 269.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5D7DFD
RGBrgb(93, 125, 253)
HSLhsl(228, 98%, 68%)
HSVhsv(228, 63%, 99%)
CMYKcmyk(63.2%, 50.6%, 0%, 0.8%)
CIE-LABlab(56.17, 27.72, -67.35)
CIE-LCHlch(56.17, 72.83, 292.37°)
OKLaboklab(63.25% -0.0014 -0.1931)
OKLCHoklch(63.25% 0.193 269.6)
XYZxyz(29.5714, 24.0836, 95.9997)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7DFD #FDDD5D
analogous
#5DCDFD #5D7DFD #8D5DFD
triadic
#5D7DFD #FD5D7D #7DFD5D
tetradic
#5D7DFD #FD5DCD #FDDD5D #5DFD8D
square
#5D7DFD #FD5DCD #FDDD5D #5DFD8D
split-complementary
#5D7DFD #FD8D5D #CDFD5D
monochromatic
#032EDD #214CFC #5D7DFD #99AEFE #D6DEFE

Accessibility & contrast

On white

3.61
#5D7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5D7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7DFD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7DFD#FFFFFF#000000##000000
##5D7DFD1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#318EFF
Deuteranopia (green-blind)
#0080FA
Tritanopia (blue-blind)
#009BB1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5d7dfd;
/* rgb */ color: rgb(93, 125, 253);
/* oklch */ color: oklch(63.2% 0.193 269.6);
Tailwind
colors: {
  custom: {
    50: '#9aa2ff',
    500: '#5d7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #5d7dfd;
$custom-light: #9aa2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7dfd",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 228,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63248,
    "c": 0.19315,
    "h": 269.6
  },
  "luminance": 0.24086
}

Semantic roles & 50–950 ramp

primary
#5D7DFD
secondary
#F4EAC2
accent
#B800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F18
muted
#7F7E86

Preview Lab

Preview with #5D7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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