#5E79EE#5E79EE

#5E79EE is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.178 H 270.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5E79EE
RGBrgb(94, 121, 238)
HSLhsl(229, 81%, 65%)
HSVhsv(229, 61%, 93%)
CMYKcmyk(60.5%, 49.2%, 0%, 6.7%)
CIE-LABlab(54.27, 25.33, -62.10)
CIE-LCHlch(54.27, 67.07, 292.19°)
OKLaboklab(61.52% 0.0019 -0.1777)
OKLCHoklch(61.52% 0.178 270.6)
XYZxyz(26.8809, 22.2252, 83.7457)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79EE #EED35E
analogous
#5EC1EE #5E79EE #8B5EEE
triadic
#5E79EE #EE5E79 #79EE5E
tetradic
#5E79EE #EE5EC1 #EED35E #5EEE8B
square
#5E79EE #EE5EC1 #EED35E #5EEE8B
split-complementary
#5E79EE #EE8B5E #C1EE5E
monochromatic
#1434BE #274BE8 #5E79EE #95A7F4 #CDD5FA

Accessibility & contrast

On white

3.86
#5E79EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5E79EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79EE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79EE#FFFFFF#000000##000000
##5E79EE1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F2
Deuteranopia (green-blind)
#1B7CEC
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e79ee;
/* rgb */ color: rgb(94, 121, 238);
/* oklch */ color: oklch(61.5% 0.178 270.6);
Tailwind
colors: {
  custom: {
    50: '#989ff4',
    500: '#5e79ee',
    950: '#000000',
  },
}
SCSS
$custom: #5e79ee;
$custom-light: #989ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79ee",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 228.75,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61517,
    "c": 0.17774,
    "h": 270.6
  },
  "luminance": 0.22227
}

Semantic roles & 50–950 ramp

primary
#5E79EE
secondary
#ECE3BB
accent
#B508DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E79EE

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

Preview Lab → · Contrast checker → · Palette generator →

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