#5D7DF4#5D7DF4

#5D7DF4 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.6% C 0.181 H 269.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5D7DF4
RGBrgb(93, 125, 244)
HSLhsl(227, 87%, 66%)
HSVhsv(227, 62%, 96%)
CMYKcmyk(61.9%, 48.8%, 0%, 4.3%)
CIE-LABlab(55.61, 24.72, -63.28)
CIE-LCHlch(55.61, 67.93, 291.34°)
OKLaboklab(62.64% -0.0023 -0.1812)
OKLCHoklch(62.64% 0.181 269.3)
XYZxyz(28.1714, 23.5236, 88.6263)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7DF4 #F4D45D
analogous
#5DC8F4 #5D7DF4 #885DF4
triadic
#5D7DF4 #F45D7D #7DF45D
tetradic
#5D7DF4 #F45DC8 #F4D45D #5DF488
square
#5D7DF4 #F45DC8 #F4D45D #5DF488
split-complementary
#5D7DF4 #F4885D #C8F45D
monochromatic
#0E35C9 #244FF0 #5D7DF4 #96ABF8 #D0D9FC

Accessibility & contrast

On white

3.68
#5D7DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5D7DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7DF4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7DF4#FFFFFF#000000##000000
##5D7DF41.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8CF8
Deuteranopia (green-blind)
#1A7FF2
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d7df4;
/* rgb */ color: rgb(93, 125, 244);
/* oklch */ color: oklch(62.6% 0.181 269.3);
Tailwind
colors: {
  custom: {
    50: '#98a2f8',
    500: '#5d7df4',
    950: '#000000',
  },
}
SCSS
$custom: #5d7df4;
$custom-light: #98a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7df4",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 227.285,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6264,
    "c": 0.18118,
    "h": 269.3
  },
  "luminance": 0.23526
}

Semantic roles & 50–950 ramp

primary
#5D7DF4
secondary
#EFE5BE
accent
#B402E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5D7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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