#5D7EEF#5D7EEF

#5D7EEF is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.5% C 0.173 H 268.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5D7EEF
RGBrgb(93, 126, 239)
HSLhsl(226, 82%, 65%)
HSVhsv(226, 61%, 94%)
CMYKcmyk(61.1%, 47.3%, 0%, 6.3%)
CIE-LABlab(55.56, 22.44, -60.57)
CIE-LCHlch(55.56, 64.60, 290.33°)
OKLaboklab(62.51% -0.0038 -0.1732)
OKLCHoklch(62.51% 0.173 268.7)
XYZxyz(27.5498, 23.4785, 84.7246)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7EEF #EFCE5D
analogous
#5DC7EF #5D7EEF #855DEF
triadic
#5D7EEF #EF5D7E #7EEF5D
tetradic
#5D7EEF #EF5DC7 #EFCE5D #5DEF85
square
#5D7EEF #EF5DC7 #EFCE5D #5DEF85
split-complementary
#5D7EEF #EF855D #C7EF5D
monochromatic
#133ABF #2552E9 #5D7EEF #95AAF5 #CCD7FA

Accessibility & contrast

On white

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

On black

5.70
#5D7EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7EEF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7EEF#FFFFFF#000000##000000
##5D7EEF1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF3
Deuteranopia (green-blind)
#2A7FED
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d7eef;
/* rgb */ color: rgb(93, 126, 239);
/* oklch */ color: oklch(62.5% 0.173 268.7);
Tailwind
colors: {
  custom: {
    50: '#97a2f5',
    500: '#5d7eef',
    950: '#000000',
  },
}
SCSS
$custom: #5d7eef;
$custom-light: #97a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7eef",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 226.438,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62508,
    "c": 0.17325,
    "h": 268.7
  },
  "luminance": 0.23481
}

Semantic roles & 50–950 ramp

primary
#5D7EEF
secondary
#EDE1BB
accent
#AE07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5D7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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