#5E71F4#5E71F4

#5E71F4 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.196 H 272.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5E71F4
RGBrgb(94, 113, 244)
HSLhsl(232, 87%, 66%)
HSVhsv(232, 61%, 96%)
CMYKcmyk(61.5%, 53.7%, 0%, 4.3%)
CIE-LABlab(52.64, 32.19, -68.06)
CIE-LCHlch(52.64, 75.29, 295.31°)
OKLaboklab(60.42% 0.0099 -0.1954)
OKLCHoklch(60.42% 0.196 272.9)
XYZxyz(26.8449, 20.7194, 88.1550)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71F4 #F4E15E
analogous
#5EBCF4 #5E71F4 #965EF4
triadic
#5E71F4 #F45E71 #71F45E
tetradic
#5E71F4 #F45EBC #F4E15E #5EF496
square
#5E71F4 #F45EBC #F4E15E #5EF496
split-complementary
#5E71F4 #F4965E #BCF45E
monochromatic
#0E26CA #253EF0 #5E71F4 #97A4F8 #D1D6FC

Accessibility & contrast

On white

4.08
#5E71F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5E71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71F4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71F4#FFFFFF#000000##000000
##5E71F41.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1184F9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e71f4;
/* rgb */ color: rgb(94, 113, 244);
/* oklch */ color: oklch(60.4% 0.196 272.9);
Tailwind
colors: {
  custom: {
    50: '#9999f9',
    500: '#5e71f4',
    950: '#000000',
  },
}
SCSS
$custom: #5e71f4;
$custom-light: #9999f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71f4",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 232.4,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60416,
    "c": 0.19562,
    "h": 272.9
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#5E71F4
secondary
#EFE9BE
accent
#C702E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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