#5D7EE8#5D7EE8

#5D7EE8 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.1% C 0.164 H 268.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5D7EE8
RGBrgb(93, 126, 232)
HSLhsl(226, 75%, 64%)
HSVhsv(226, 60%, 91%)
CMYKcmyk(59.9%, 45.7%, 0%, 9%)
CIE-LABlab(55.15, 20.12, -57.34)
CIE-LCHlch(55.15, 60.77, 289.34°)
OKLaboklab(62.06% -0.0047 -0.1637)
OKLCHoklch(62.06% 0.164 268.3)
XYZxyz(26.5356, 23.0728, 79.3834)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7EE8 #E8C75D
analogous
#5DC4E8 #5D7EE8 #815DE8
triadic
#5D7EE8 #E85D7E #7EE85D
tetradic
#5D7EE8 #E85DC4 #E8C75D #5DE881
square
#5D7EE8 #E85DC4 #E8C75D #5DE881
split-complementary
#5D7EE8 #E8815D #C4E85D
monochromatic
#193DB1 #2753E0 #5D7EE8 #93A9F0 #C8D3F7

Accessibility & contrast

On white

3.74
#5D7EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5D7EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7EE8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7EE8#FFFFFF#000000##000000
##5D7EE81.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8BEC
Deuteranopia (green-blind)
#357EE6
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5d7ee8;
/* rgb */ color: rgb(93, 126, 232);
/* oklch */ color: oklch(62.1% 0.164 268.3);
Tailwind
colors: {
  custom: {
    50: '#96a2f0',
    500: '#5d7ee8',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ee8;
$custom-light: #96a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ee8",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 225.755,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62058,
    "c": 0.16377,
    "h": 268.3
  },
  "luminance": 0.23075
}

Semantic roles & 50–950 ramp

primary
#5D7EE8
secondary
#E9DDB8
accent
#A80ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #5D7EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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