#5E5FEF#5E5FEF

#5E5FEF is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.9% C 0.211 H 277.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5E5FEF
RGBrgb(94, 95, 239)
HSLhsl(240, 82%, 65%)
HSVhsv(240, 61%, 94%)
CMYKcmyk(60.7%, 60.3%, 0%, 6.3%)
CIE-LABlab(48.00, 41.41, -72.80)
CIE-LCHlch(48.00, 83.75, 299.63°)
OKLaboklab(56.86% 0.0258 -0.2095)
OKLCHoklch(56.86% 0.211 277)
XYZxyz(24.2833, 16.7942, 83.6066)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FEF #EFEE5E
analogous
#5EA8EF #5E5FEF #A55EEF
triadic
#5E5FEF #EF5E5F #5FEF5E
tetradic
#5E5FEF #EF5EA8 #EFEE5E #5EEFA5
square
#5E5FEF #EF5EA8 #EFEE5E #5EEFA5
split-complementary
#5E5FEF #EFA55E #A8EF5E
monochromatic
#1314C0 #2628E9 #5E5FEF #9696F5 #CDCEFA

Accessibility & contrast

On white

4.82
#5E5FEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5E5FEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FEF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FEF#FFFFFF#000000##FFFFFF
##5E5FEF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e5fef;
/* rgb */ color: rgb(94, 95, 239);
/* oklch */ color: oklch(56.9% 0.211 277.0);
Tailwind
colors: {
  custom: {
    50: '#998cf5',
    500: '#5e5fef',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fef;
$custom-light: #998cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fef",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 239.586,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56856,
    "c": 0.21105,
    "h": 277
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#5E5FEF
secondary
#EDECBC
accent
#DD07DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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