#5D7EEE#5D7EEE

#5D7EEE is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.4% C 0.172 H 268.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5D7EEE
RGBrgb(93, 126, 238)
HSLhsl(226, 81%, 65%)
HSVhsv(226, 61%, 93%)
CMYKcmyk(60.9%, 47.1%, 0%, 6.7%)
CIE-LABlab(55.50, 22.11, -60.11)
CIE-LCHlch(55.50, 64.05, 290.19°)
OKLaboklab(62.44% -0.0039 -0.1719)
OKLCHoklch(62.44% 0.172 268.7)
XYZxyz(27.4024, 23.4196, 83.9487)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7EEE #EECD5D
analogous
#5DC6EE #5D7EEE #855DEE
triadic
#5D7EEE #EE5D7E #7EEE5D
tetradic
#5D7EEE #EE5DC6 #EECD5D #5DEE85
square
#5D7EEE #EE5DC6 #EECD5D #5DEE85
split-complementary
#5D7EEE #EE855D #C6EE5D
monochromatic
#143ABD #2652E8 #5D7EEE #94AAF4 #CCD6FA

Accessibility & contrast

On white

3.69
#5D7EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5D7EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7EEE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7EEE#FFFFFF#000000##000000
##5D7EEE1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#2C7FEC
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d7eee;
/* rgb */ color: rgb(93, 126, 238);
/* oklch */ color: oklch(62.4% 0.172 268.7);
Tailwind
colors: {
  custom: {
    50: '#97a2f4',
    500: '#5d7eee',
    950: '#000000',
  },
}
SCSS
$custom: #5d7eee;
$custom-light: #97a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7eee",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 226.345,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62443,
    "c": 0.1719,
    "h": 268.7
  },
  "luminance": 0.23422
}

Semantic roles & 50–950 ramp

primary
#5D7EEE
secondary
#ECE1BB
accent
#AD08DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5D7EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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