#5D7FEC#5D7FEC

#5D7FEC is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.5% C 0.168 H 268.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5D7FEC
RGBrgb(93, 127, 236)
HSLhsl(226, 79%, 65%)
HSVhsv(226, 61%, 93%)
CMYKcmyk(60.6%, 46.2%, 0%, 7.5%)
CIE-LABlab(55.64, 20.84, -58.77)
CIE-LCHlch(55.64, 62.36, 289.52°)
OKLaboklab(62.51% -0.0052 -0.1679)
OKLCHoklch(62.51% 0.168 268.2)
XYZxyz(27.2388, 23.5597, 82.4527)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FEC #ECCA5D
analogous
#5DC7EC #5D7FEC #825DEC
triadic
#5D7FEC #EC5D7F #7FEC5D
tetradic
#5D7FEC #EC5DC7 #ECCA5D #5DEC82
square
#5D7FEC #EC5DC7 #ECCA5D #5DEC82
split-complementary
#5D7FEC #EC825D #C7EC5D
monochromatic
#163CB9 #2654E6 #5D7FEC #94AAF2 #CBD6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7FEC#FFFFFF#000000##000000
##5D7FEC1.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)
#4A8CF0
Deuteranopia (green-blind)
#327FEA
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d7fec;
/* rgb */ color: rgb(93, 127, 236);
/* oklch */ color: oklch(62.5% 0.168 268.2);
Tailwind
colors: {
  custom: {
    50: '#97a3f3',
    500: '#5d7fec',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fec;
$custom-light: #97a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fec",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 225.734,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62513,
    "c": 0.16798,
    "h": 268.2
  },
  "luminance": 0.23562
}

Semantic roles & 50–950 ramp

primary
#5D7FEC
secondary
#EBDFBA
accent
#AA0ADB
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5D7FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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