#5E7DE4#5E7DE4

#5E7DE4 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.7% C 0.159 H 268.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5E7DE4
RGBrgb(94, 125, 228)
HSLhsl(226, 71%, 63%)
HSVhsv(226, 59%, 89%)
CMYKcmyk(58.8%, 45.2%, 0%, 10.6%)
CIE-LABlab(54.71, 19.59, -55.81)
CIE-LCHlch(54.71, 59.15, 289.35°)
OKLaboklab(61.66% -0.0033 -0.1592)
OKLCHoklch(61.66% 0.159 268.8)
XYZxyz(25.9486, 22.6462, 76.3875)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7DE4 #E4C55E
analogous
#5EC0E4 #5E7DE4 #825EE4
triadic
#5E7DE4 #E45E7D #7DE45E
tetradic
#5E7DE4 #E45EC0 #E4C55E #5EE482
square
#5E7DE4 #E45EC0 #E4C55E #5EE482
split-complementary
#5E7DE4 #E4825E #C0E45E
monochromatic
#1D3EAB #2A53DB #5E7DE4 #92A7ED #C7D2F6

Accessibility & contrast

On white

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

On black

5.53
#5E7DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7DE4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7DE4#FFFFFF#000000##000000
##5E7DE41.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e7de4;
/* rgb */ color: rgb(94, 125, 228);
/* oklch */ color: oklch(61.7% 0.159 268.8);
Tailwind
colors: {
  custom: {
    50: '#96a2ed',
    500: '#5e7de4',
    950: '#000000',
  },
}
SCSS
$custom: #5e7de4;
$custom-light: #96a2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7de4",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 228
  },
  "hsl": {
    "h": 226.119,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.15923,
    "h": 268.8
  },
  "luminance": 0.22648
}

Semantic roles & 50–950 ramp

primary
#5E7DE4
secondary
#E7DCB7
accent
#A712D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #5E7DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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