#5E79DC#5E79DC

#5E79DC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.4% C 0.153 H 269.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5E79DC
RGBrgb(94, 121, 220)
HSLhsl(227, 64%, 62%)
HSVhsv(227, 57%, 86%)
CMYKcmyk(57.3%, 45%, 0%, 13.7%)
CIE-LABlab(53.19, 19.40, -53.74)
CIE-LCHlch(53.19, 57.13, 289.85°)
OKLaboklab(60.35% -0.0004 -0.1532)
OKLCHoklch(60.35% 0.153 269.9)
XYZxyz(24.3674, 21.2198, 70.5080)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79DC #DCC15E
analogous
#5EB8DC #5E79DC #825EDC
triadic
#5E79DC #DC5E79 #79DC5E
tetradic
#5E79DC #DC5EB8 #DCC15E #5EDC82
square
#5E79DC #DC5EB8 #DCC15E #5EDC82
split-complementary
#5E79DC #DC825E #B8DC5E
monochromatic
#223D9D #2D50D0 #5E79DC #90A3E7 #C3CDF2

Accessibility & contrast

On white

4.00
#5E79DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5E79DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79DC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79DC#FFFFFF#000000##000000
##5E79DC1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E0
Deuteranopia (green-blind)
#3A7ADA
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5e79dc;
/* rgb */ color: rgb(94, 121, 220);
/* oklch */ color: oklch(60.4% 0.153 269.9);
Tailwind
colors: {
  custom: {
    50: '#959fe7',
    500: '#5e79dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e79dc;
$custom-light: #959fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79dc",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 227.143,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60352,
    "c": 0.15316,
    "h": 269.9
  },
  "luminance": 0.21222
}

Semantic roles & 50–950 ramp

primary
#5E79DC
secondary
#E2D8B3
accent
#A619CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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