#5E61EF#5E61EF

#5E61EF is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.2% C 0.209 H 276.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E61EF
RGBrgb(94, 97, 239)
HSLhsl(239, 82%, 65%)
HSVhsv(239, 61%, 94%)
CMYKcmyk(60.7%, 59.4%, 0%, 6.3%)
CIE-LABlab(48.46, 40.22, -72.05)
CIE-LCHlch(48.46, 82.51, 299.17°)
OKLaboklab(57.19% 0.0241 -0.2072)
OKLCHoklch(57.19% 0.209 276.6)
XYZxyz(24.4657, 17.1592, 83.6674)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E61EF #EFEC5E
analogous
#5EA9EF #5E61EF #A45EEF
triadic
#5E61EF #EF5E61 #61EF5E
tetradic
#5E61EF #EF5EA9 #EFEC5E #5EEFA4
square
#5E61EF #EF5EA9 #EFEC5E #5EEFA4
split-complementary
#5E61EF #EFA45E #A9EF5E
monochromatic
#1317C0 #262AE9 #5E61EF #9698F5 #CDCEFA

Accessibility & contrast

On white

4.74
#5E61EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5E61EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E61EF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E61EF#FFFFFF#000000##FFFFFF
##5E61EF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e61ef;
/* rgb */ color: rgb(94, 97, 239);
/* oklch */ color: oklch(57.2% 0.209 276.6);
Tailwind
colors: {
  custom: {
    50: '#998ef5',
    500: '#5e61ef',
    950: '#000000',
  },
}
SCSS
$custom: #5e61ef;
$custom-light: #998ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e61ef",
  "rgb": {
    "r": 94,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 238.759,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57195,
    "c": 0.20865,
    "h": 276.6
  },
  "luminance": 0.17161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E61EF

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

Preview Lab → · Contrast checker → · Palette generator →

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