#5E79EA#5E79EA

#5E79EA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.172 H 270.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5E79EA
RGBrgb(94, 121, 234)
HSLhsl(228, 77%, 64%)
HSVhsv(228, 60%, 92%)
CMYKcmyk(59.8%, 48.3%, 0%, 8.2%)
CIE-LABlab(54.02, 24.01, -60.26)
CIE-LCHlch(54.02, 64.87, 291.72°)
OKLaboklab(61.25% 0.0015 -0.1723)
OKLCHoklch(61.25% 0.172 270.5)
XYZxyz(26.2998, 21.9928, 80.6850)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79EA #EACF5E
analogous
#5EBFEA #5E79EA #895EEA
triadic
#5E79EA #EA5E79 #79EA5E
tetradic
#5E79EA #EA5EBF #EACF5E #5EEA89
square
#5E79EA #EA5EBF #EACF5E #5EEA89
split-complementary
#5E79EA #EA895E #BFEA5E
monochromatic
#1836B6 #284CE3 #5E79EA #94A6F1 #CAD3F8

Accessibility & contrast

On white

3.89
#5E79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5E79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79EA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79EA#FFFFFF#000000##000000
##5E79EA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EE
Deuteranopia (green-blind)
#257BE8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e79ea;
/* rgb */ color: rgb(94, 121, 234);
/* oklch */ color: oklch(61.3% 0.172 270.5);
Tailwind
colors: {
  custom: {
    50: '#979ff1',
    500: '#5e79ea',
    950: '#000000',
  },
}
SCSS
$custom: #5e79ea;
$custom-light: #979ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79ea",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 228.429,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61252,
    "c": 0.17234,
    "h": 270.5
  },
  "luminance": 0.21995
}

Semantic roles & 50–950 ramp

primary
#5E79EA
secondary
#EAE1BA
accent
#B20CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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