#5E6FE7#5E6FE7

#5E6FE7 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.181 H 273.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5E6FE7
RGBrgb(94, 111, 231)
HSLhsl(233, 74%, 64%)
HSVhsv(233, 59%, 91%)
CMYKcmyk(59.3%, 51.9%, 0%, 9.4%)
CIE-LABlab(51.29, 29.13, -62.98)
CIE-LCHlch(51.29, 69.39, 294.82°)
OKLaboklab(59.13% 0.011 -0.1804)
OKLCHoklch(59.13% 0.181 273.5)
XYZxyz(24.7196, 19.5161, 78.0502)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6FE7 #E7D65E
analogous
#5EB3E7 #5E6FE7 #915EE7
triadic
#5E6FE7 #E75E6F #6FE75E
tetradic
#5E6FE7 #E75EB3 #E7D65E #5EE791
square
#5E6FE7 #E75EB3 #E7D65E #5EE791
split-complementary
#5E6FE7 #E7915E #B3E75E
monochromatic
#1A2DB0 #293FDF #5E6FE7 #939FEF #C9CEF7

Accessibility & contrast

On white

4.28
#5E6FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5E6FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6FE7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6FE7#FFFFFF#000000##000000
##5E6FE71.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EB
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e6fe7;
/* rgb */ color: rgb(94, 111, 231);
/* oklch */ color: oklch(59.1% 0.181 273.5);
Tailwind
colors: {
  custom: {
    50: '#9798ef',
    500: '#5e6fe7',
    950: '#000000',
  },
}
SCSS
$custom: #5e6fe7;
$custom-light: #9798ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6fe7",
  "rgb": {
    "r": 94,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 232.555,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59125,
    "c": 0.18079,
    "h": 273.5
  },
  "luminance": 0.19518
}

Semantic roles & 50–950 ramp

primary
#5E6FE7
secondary
#E9E3B8
accent
#BE0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5E6FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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