#5D7EE4#5D7EE4

#5D7EE4 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.8% C 0.158 H 268.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5D7EE4
RGBrgb(93, 126, 228)
HSLhsl(225, 71%, 63%)
HSVhsv(225, 59%, 89%)
CMYKcmyk(59.2%, 44.7%, 0%, 10.6%)
CIE-LABlab(54.92, 18.80, -55.47)
CIE-LCHlch(54.92, 58.57, 288.72°)
OKLaboklab(61.81% -0.0053 -0.1582)
OKLCHoklch(61.81% 0.158 268.1)
XYZxyz(25.9739, 22.8482, 76.4251)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7EE4 #E4C35D
analogous
#5DC2E4 #5D7EE4 #7F5DE4
triadic
#5D7EE4 #E45D7E #7EE45D
tetradic
#5D7EE4 #E45DC2 #E4C35D #5DE47F
square
#5D7EE4 #E45DC2 #E4C35D #5DE47F
split-complementary
#5D7EE4 #E47F5D #C2E45D
monochromatic
#1C3FAA #2954DB #5D7EE4 #91A8ED #C6D2F5

Accessibility & contrast

On white

3.77
#5D7EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5D7EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7EE4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7EE4#FFFFFF#000000##000000
##5D7EE41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8AE8
Deuteranopia (green-blind)
#3A7EE2
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d7ee4;
/* rgb */ color: rgb(93, 126, 228);
/* oklch */ color: oklch(61.8% 0.158 268.1);
Tailwind
colors: {
  custom: {
    50: '#96a3ed',
    500: '#5d7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ee4;
$custom-light: #96a3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ee4",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 225.333,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61806,
    "c": 0.15831,
    "h": 268.1
  },
  "luminance": 0.2285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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