#5E7BE7#5E7BE7

#5E7BE7 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.166 H 269.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5E7BE7
RGBrgb(94, 123, 231)
HSLhsl(227, 74%, 64%)
HSVhsv(227, 59%, 91%)
CMYKcmyk(59.3%, 46.8%, 0%, 9.4%)
CIE-LABlab(54.36, 21.80, -58.04)
CIE-LCHlch(54.36, 62.00, 290.59°)
OKLaboklab(61.45% -0.0009 -0.1658)
OKLCHoklch(61.45% 0.166 269.7)
XYZxyz(26.1180, 22.3130, 78.5163)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BE7 #E7CA5E
analogous
#5EBFE7 #5E7BE7 #855EE7
triadic
#5E7BE7 #E75E7B #7BE75E
tetradic
#5E7BE7 #E75EBF #E7CA5E #5EE785
square
#5E7BE7 #E75EBF #E7CA5E #5EE785
split-complementary
#5E7BE7 #E7855E #BFE75E
monochromatic
#1A3AB0 #294FDF #5E7BE7 #93A7EF #C9D2F7

Accessibility & contrast

On white

3.84
#5E7BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5E7BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BE7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BE7#FFFFFF#000000##000000
##5E7BE71.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4688EB
Deuteranopia (green-blind)
#307CE5
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e7be7;
/* rgb */ color: rgb(94, 123, 231);
/* oklch */ color: oklch(61.5% 0.166 269.7);
Tailwind
colors: {
  custom: {
    50: '#97a0ef',
    500: '#5e7be7',
    950: '#000000',
  },
}
SCSS
$custom: #5e7be7;
$custom-light: #97a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7be7",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 227.299,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61451,
    "c": 0.16578,
    "h": 269.7
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

primary
#5E7BE7
secondary
#E9DEB8
accent
#AC0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E7BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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