#5D7DE4#5D7DE4

#5D7DE4 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.6% C 0.160 H 268.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5D7DE4
RGBrgb(93, 125, 228)
HSLhsl(226, 71%, 63%)
HSVhsv(226, 59%, 89%)
CMYKcmyk(59.2%, 45.2%, 0%, 10.6%)
CIE-LABlab(54.65, 19.40, -55.90)
CIE-LCHlch(54.65, 59.17, 289.14°)
OKLaboklab(61.6% -0.0043 -0.1595)
OKLCHoklch(61.6% 0.16 268.4)
XYZxyz(25.8467, 22.5937, 76.3827)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7DE4 #E4C45D
analogous
#5DC0E4 #5D7DE4 #805DE4
triadic
#5D7DE4 #E45D7D #7DE45D
tetradic
#5D7DE4 #E45DC0 #E4C45D #5DE480
square
#5D7DE4 #E45DC0 #E4C45D #5DE480
split-complementary
#5D7DE4 #E4805D #C0E45D
monochromatic
#1C3EAA #2953DB #5D7DE4 #91A7ED #C6D1F5

Accessibility & contrast

On white

3.80
#5D7DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5D7DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7DE4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7DE4#FFFFFF#000000##000000
##5D7DE41.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E8
Deuteranopia (green-blind)
#387DE2
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d7de4;
/* rgb */ color: rgb(93, 125, 228);
/* oklch */ color: oklch(61.6% 0.160 268.4);
Tailwind
colors: {
  custom: {
    50: '#96a2ed',
    500: '#5d7de4',
    950: '#000000',
  },
}
SCSS
$custom: #5d7de4;
$custom-light: #96a2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7de4",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 228
  },
  "hsl": {
    "h": 225.778,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61604,
    "c": 0.15953,
    "h": 268.4
  },
  "luminance": 0.22596
}

Semantic roles & 50–950 ramp

primary
#5D7DE4
secondary
#E7DBB6
accent
#A612D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #5D7DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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