#5E71F6#5E71F6

#5E71F6 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.6% C 0.198 H 272.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5E71F6
RGBrgb(94, 113, 246)
HSLhsl(233, 89%, 67%)
HSVhsv(233, 62%, 96%)
CMYKcmyk(61.8%, 54.1%, 0%, 3.5%)
CIE-LABlab(52.78, 32.85, -68.95)
CIE-LCHlch(52.78, 76.38, 295.47°)
OKLaboklab(60.56% 0.01 -0.198)
OKLCHoklch(60.56% 0.198 272.9)
XYZxyz(27.1502, 20.8415, 89.7630)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71F6 #F6E35E
analogous
#5EBDF6 #5E71F6 #975EF6
triadic
#5E71F6 #F65E71 #71F65E
tetradic
#5E71F6 #F65EBD #F6E35E #5EF697
square
#5E71F6 #F65EBD #F6E35E #5EF697
split-complementary
#5E71F6 #F6975E #BDF65E
monochromatic
#0C24CE #243EF3 #5E71F6 #98A4F9 #D2D7FC

Accessibility & contrast

On white

4.06
#5E71F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5E71F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71F6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71F6#FFFFFF#000000##000000
##5E71F61.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0785FB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#0090A9
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e71f6;
/* rgb */ color: rgb(94, 113, 246);
/* oklch */ color: oklch(60.6% 0.198 272.9);
Tailwind
colors: {
  custom: {
    50: '#9999fa',
    500: '#5e71f6',
    950: '#000000',
  },
}
SCSS
$custom: #5e71f6;
$custom-light: #9999fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71f6",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 232.5,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.19825,
    "h": 272.9
  },
  "luminance": 0.20844
}

Semantic roles & 50–950 ramp

primary
#5E71F6
secondary
#F0EABF
accent
#C900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E71F6

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

Preview Lab → · Contrast checker → · Palette generator →

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