#5E71F3#5E71F3

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

Color values

HEX#5E71F3
RGBrgb(94, 113, 243)
HSLhsl(232, 86%, 66%)
HSVhsv(232, 61%, 95%)
CMYKcmyk(61.3%, 53.5%, 0%, 4.7%)
CIE-LABlab(52.57, 31.86, -67.61)
CIE-LCHlch(52.57, 74.74, 295.23°)
OKLaboklab(60.35% 0.0098 -0.194)
OKLCHoklch(60.35% 0.194 272.9)
XYZxyz(26.6935, 20.6588, 87.3575)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71F3 #F3E05E
analogous
#5EBBF3 #5E71F3 #955EF3
triadic
#5E71F3 #F35E71 #71F35E
tetradic
#5E71F3 #F35EBB #F3E05E #5EF395
square
#5E71F3 #F35EBB #F3E05E #5EF395
split-complementary
#5E71F3 #F3955E #BBF35E
monochromatic
#0F26C8 #253FEF #5E71F3 #97A3F7 #D0D5FB

Accessibility & contrast

On white

4.09
#5E71F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5E71F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71F3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71F3#FFFFFF#000000##000000
##5E71F31.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1484F8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e71f3;
/* rgb */ color: rgb(94, 113, 243);
/* oklch */ color: oklch(60.3% 0.194 272.9);
Tailwind
colors: {
  custom: {
    50: '#9999f8',
    500: '#5e71f3',
    950: '#000000',
  },
}
SCSS
$custom: #5e71f3;
$custom-light: #9999f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71f3",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 232.349,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.1943,
    "h": 272.9
  },
  "luminance": 0.20661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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