#5E7EE5#5E7EE5

#5E7EE5 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.9% C 0.159 H 268.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5E7EE5
RGBrgb(94, 126, 229)
HSLhsl(226, 72%, 63%)
HSVhsv(226, 59%, 90%)
CMYKcmyk(59%, 45%, 0%, 10.2%)
CIE-LABlab(55.03, 19.31, -55.85)
CIE-LCHlch(55.03, 59.10, 289.08°)
OKLaboklab(61.93% -0.0042 -0.1593)
OKLCHoklch(61.93% 0.159 268.5)
XYZxyz(26.2150, 22.9564, 77.1631)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7EE5 #E5C55E
analogous
#5EC1E5 #5E7EE5 #815EE5
triadic
#5E7EE5 #E55E7E #7EE55E
tetradic
#5E7EE5 #E55EC1 #E5C55E #5EE581
square
#5E7EE5 #E55EC1 #E5C55E #5EE581
split-complementary
#5E7EE5 #E5815E #C1E55E
monochromatic
#1C3EAD #2954DC #5E7EE5 #93A8EE #C7D2F6

Accessibility & contrast

On white

3.76
#5E7EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5E7EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7EE5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7EE5#FFFFFF#000000##000000
##5E7EE51.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8AE9
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7ee5;
/* rgb */ color: rgb(94, 126, 229);
/* oklch */ color: oklch(61.9% 0.159 268.5);
Tailwind
colors: {
  custom: {
    50: '#96a3ee',
    500: '#5e7ee5',
    950: '#000000',
  },
}
SCSS
$custom: #5e7ee5;
$custom-light: #96a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7ee5",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 225.778,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61925,
    "c": 0.15937,
    "h": 268.5
  },
  "luminance": 0.22959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E7EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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