#5E6CF7#5E6CF7

#5E6CF7 is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 59.7% C 0.206 H 274.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5E6CF7
RGBrgb(94, 108, 247)
HSLhsl(235, 91%, 67%)
HSVhsv(235, 62%, 97%)
CMYKcmyk(61.9%, 56.3%, 0%, 3.1%)
CIE-LABlab(51.63, 36.20, -71.36)
CIE-LCHlch(51.63, 80.02, 296.90°)
OKLaboklab(59.73% 0.0145 -0.2051)
OKLCHoklch(59.73% 0.206 274)
XYZxyz(26.7616, 19.8180, 90.3926)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6CF7 #F7E95E
analogous
#5EB9F7 #5E6CF7 #9D5EF7
triadic
#5E6CF7 #F75E6C #6CF75E
tetradic
#5E6CF7 #F75EB9 #F7E95E #5EF79D
square
#5E6CF7 #F75EB9 #F7E95E #5EF79D
split-complementary
#5E6CF7 #F79D5E #B9F75E
monochromatic
#0A1CD0 #2437F4 #5E6CF7 #98A1FA #D3D6FD

Accessibility & contrast

On white

4.23
#5E6CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5E6CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6CF7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6CF7#FFFFFF#000000##000000
##5E6CF71.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#0075F4
Tritanopia (blue-blind)
#008DA7
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e6cf7;
/* rgb */ color: rgb(94, 108, 247);
/* oklch */ color: oklch(59.7% 0.206 274.0);
Tailwind
colors: {
  custom: {
    50: '#9a96fb',
    500: '#5e6cf7',
    950: '#000000',
  },
}
SCSS
$custom: #5e6cf7;
$custom-light: #9a96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6cf7",
  "rgb": {
    "r": 94,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 234.51,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59727,
    "c": 0.20565,
    "h": 274
  },
  "luminance": 0.1982
}

Semantic roles & 50–950 ramp

primary
#5E6CF7
secondary
#F1ECC0
accent
#D100E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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