#5D7FE8#5D7FE8

#5D7FE8 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.3% C 0.163 H 268.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5D7FE8
RGBrgb(93, 127, 232)
HSLhsl(225, 75%, 64%)
HSVhsv(225, 60%, 91%)
CMYKcmyk(59.9%, 45.3%, 0%, 9%)
CIE-LABlab(55.41, 19.51, -56.92)
CIE-LCHlch(55.41, 60.17, 288.92°)
OKLaboklab(62.26% -0.0057 -0.1624)
OKLCHoklch(62.26% 0.163 268)
XYZxyz(26.6641, 23.3299, 79.4263)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FE8 #E8C65D
analogous
#5DC4E8 #5D7FE8 #805DE8
triadic
#5D7FE8 #E85D7F #7FE85D
tetradic
#5D7FE8 #E85DC4 #E8C65D #5DE880
square
#5D7FE8 #E85DC4 #E8C65D #5DE880
split-complementary
#5D7FE8 #E8805D #C4E85D
monochromatic
#193EB1 #2755E0 #5D7FE8 #93A9F0 #C8D4F7

Accessibility & contrast

On white

3.71
#5D7FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5D7FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FE8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FE8#FFFFFF#000000##000000
##5D7FE81.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8BEC
Deuteranopia (green-blind)
#387FE6
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d7fe8;
/* rgb */ color: rgb(93, 127, 232);
/* oklch */ color: oklch(62.3% 0.163 268.0);
Tailwind
colors: {
  custom: {
    50: '#96a3f0',
    500: '#5d7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fe8;
$custom-light: #96a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fe8",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 225.324,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62259,
    "c": 0.16255,
    "h": 268
  },
  "luminance": 0.23332
}

Semantic roles & 50–950 ramp

primary
#5D7FE8
secondary
#E9DDB8
accent
#A60ED7
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5D7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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