#5D7AF4#5D7AF4

#5D7AF4 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.1% C 0.185 H 270.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5D7AF4
RGBrgb(93, 122, 244)
HSLhsl(228, 87%, 66%)
HSVhsv(228, 62%, 96%)
CMYKcmyk(61.9%, 50%, 0%, 4.3%)
CIE-LABlab(54.84, 26.54, -64.51)
CIE-LCHlch(54.84, 69.76, 292.36°)
OKLaboklab(62.06% 0.0006 -0.1848)
OKLCHoklch(62.06% 0.185 270.2)
XYZxyz(27.7974, 22.7755, 88.5016)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7AF4 #F4D75D
analogous
#5DC5F4 #5D7AF4 #8B5DF4
triadic
#5D7AF4 #F45D7A #7AF45D
tetradic
#5D7AF4 #F45DC5 #F4D75D #5DF48B
square
#5D7AF4 #F45DC5 #F4D75D #5DF48B
split-complementary
#5D7AF4 #F48B5D #C5F45D
monochromatic
#0E32C9 #244BF0 #5D7AF4 #96A9F8 #D0D8FC

Accessibility & contrast

On white

3.78
#5D7AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5D7AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7AF4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7AF4#FFFFFF#000000##000000
##5D7AF41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#358AF8
Deuteranopia (green-blind)
#057DF1
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d7af4;
/* rgb */ color: rgb(93, 122, 244);
/* oklch */ color: oklch(62.1% 0.185 270.2);
Tailwind
colors: {
  custom: {
    50: '#98a0f8',
    500: '#5d7af4',
    950: '#000000',
  },
}
SCSS
$custom: #5d7af4;
$custom-light: #98a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7af4",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 228.477,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62059,
    "c": 0.18484,
    "h": 270.2
  },
  "luminance": 0.22778
}

Semantic roles & 50–950 ramp

primary
#5D7AF4
secondary
#EFE6BE
accent
#B802E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D7AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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