#5D7EFD#5D7EFD

#5D7EFD is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.4% C 0.192 H 269.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5D7EFD
RGBrgb(93, 126, 253)
HSLhsl(228, 98%, 68%)
HSVhsv(228, 63%, 99%)
CMYKcmyk(63.2%, 50.2%, 0%, 0.8%)
CIE-LABlab(56.42, 27.11, -66.94)
CIE-LCHlch(56.42, 72.22, 292.05°)
OKLaboklab(63.44% -0.0023 -0.1919)
OKLCHoklch(63.44% 0.192 269.3)
XYZxyz(29.6987, 24.3381, 96.0421)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7EFD #FDDC5D
analogous
#5DCEFD #5D7EFD #8C5DFD
triadic
#5D7EFD #FD5D7E #7EFD5D
tetradic
#5D7EFD #FD5DCE #FDDC5D #5DFD8C
square
#5D7EFD #FD5DCE #FDDC5D #5DFD8C
split-complementary
#5D7EFD #FD8C5D #CEFD5D
monochromatic
#0330DD #214EFC #5D7EFD #99AEFE #D6DEFE

Accessibility & contrast

On white

3.58
#5D7EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5D7EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7EFD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7EFD#FFFFFF#000000##000000
##5D7EFD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#358FFF
Deuteranopia (green-blind)
#0080FA
Tritanopia (blue-blind)
#009CB2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5d7efd;
/* rgb */ color: rgb(93, 126, 253);
/* oklch */ color: oklch(63.4% 0.192 269.3);
Tailwind
colors: {
  custom: {
    50: '#99a2ff',
    500: '#5d7efd',
    950: '#000000',
  },
}
SCSS
$custom: #5d7efd;
$custom-light: #99a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7efd",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 227.625,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6344,
    "c": 0.19194,
    "h": 269.3
  },
  "luminance": 0.24341
}

Semantic roles & 50–950 ramp

primary
#5D7EFD
secondary
#F4E9C2
accent
#B600E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F18
muted
#7F7E86

Preview Lab

Preview with #5D7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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