#5E79E7#5E79E7

#5E79E7 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.168 H 270.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5E79E7
RGBrgb(94, 121, 231)
HSLhsl(228, 74%, 64%)
HSVhsv(228, 59%, 91%)
CMYKcmyk(59.3%, 47.6%, 0%, 9.4%)
CIE-LABlab(53.84, 23.02, -58.88)
CIE-LCHlch(53.84, 63.22, 291.35°)
OKLaboklab(61.06% 0.0011 -0.1683)
OKLCHoklch(61.06% 0.168 270.4)
XYZxyz(25.8724, 21.8219, 78.4344)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79E7 #E7CC5E
analogous
#5EBDE7 #5E79E7 #875EE7
triadic
#5E79E7 #E75E79 #79E75E
tetradic
#5E79E7 #E75EBD #E7CC5E #5EE787
square
#5E79E7 #E75EBD #E7CC5E #5EE787
split-complementary
#5E79E7 #E7875E #BDE75E
monochromatic
#1A38B0 #294DDF #5E79E7 #93A5EF #C9D2F7

Accessibility & contrast

On white

3.91
#5E79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5E79E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79E7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79E7#FFFFFF#000000##000000
##5E79E71.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EB
Deuteranopia (green-blind)
#2A7BE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e79e7;
/* rgb */ color: rgb(94, 121, 231);
/* oklch */ color: oklch(61.1% 0.168 270.4);
Tailwind
colors: {
  custom: {
    50: '#979fef',
    500: '#5e79e7',
    950: '#000000',
  },
}
SCSS
$custom: #5e79e7;
$custom-light: #979fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79e7",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 228.175,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.16826,
    "h": 270.4
  },
  "luminance": 0.21824
}

Semantic roles & 50–950 ramp

primary
#5E79E7
secondary
#E9DFB8
accent
#AF0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #5E79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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