#5E79EC#5E79EC

#5E79EC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.175 H 270.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E79EC
RGBrgb(94, 121, 236)
HSLhsl(229, 79%, 65%)
HSVhsv(229, 60%, 93%)
CMYKcmyk(60.2%, 48.7%, 0%, 7.5%)
CIE-LABlab(54.14, 24.67, -61.18)
CIE-LCHlch(54.14, 65.97, 291.96°)
OKLaboklab(61.38% 0.0017 -0.175)
OKLCHoklch(61.38% 0.175 270.6)
XYZxyz(26.5887, 22.1084, 82.2068)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79EC #ECD15E
analogous
#5EC0EC #5E79EC #8A5EEC
triadic
#5E79EC #EC5E79 #79EC5E
tetradic
#5E79EC #EC5EC0 #ECD15E #5EEC8A
square
#5E79EC #EC5EC0 #ECD15E #5EEC8A
split-complementary
#5E79EC #EC8A5E #C0EC5E
monochromatic
#1635BA #274BE6 #5E79EC #95A7F2 #CBD4F9

Accessibility & contrast

On white

3.87
#5E79EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5E79EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79EC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79EC#FFFFFF#000000##000000
##5E79EC1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88F0
Deuteranopia (green-blind)
#207BEA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e79ec;
/* rgb */ color: rgb(94, 121, 236);
/* oklch */ color: oklch(61.4% 0.175 270.6);
Tailwind
colors: {
  custom: {
    50: '#979ff3',
    500: '#5e79ec',
    950: '#000000',
  },
}
SCSS
$custom: #5e79ec;
$custom-light: #979ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79ec",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 228.592,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61384,
    "c": 0.17505,
    "h": 270.6
  },
  "luminance": 0.22111
}

Semantic roles & 50–950 ramp

primary
#5E79EC
secondary
#EBE2BB
accent
#B30ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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