#5E79DF#5E79DF

#5E79DF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.157 H 270.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5E79DF
RGBrgb(94, 121, 223)
HSLhsl(227, 67%, 62%)
HSVhsv(227, 58%, 87%)
CMYKcmyk(57.8%, 45.7%, 0%, 12.5%)
CIE-LABlab(53.36, 20.39, -55.15)
CIE-LCHlch(53.36, 58.80, 290.29°)
OKLaboklab(60.54% 0.0001 -0.1573)
OKLCHoklch(60.54% 0.157 270)
XYZxyz(24.7683, 21.3802, 72.6193)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79DF #DFC45E
analogous
#5EB9DF #5E79DF #845EDF
triadic
#5E79DF #DF5E79 #79DF5E
tetradic
#5E79DF #DF5EB9 #DFC45E #5EDF84
square
#5E79DF #DF5EB9 #DFC45E #5EDF84
split-complementary
#5E79DF #DF845E #B9DF5E
monochromatic
#203BA2 #2B4FD5 #5E79DF #91A3E9 #C4CEF3

Accessibility & contrast

On white

3.98
#5E79DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5E79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79DF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79DF#FFFFFF#000000##000000
##5E79DF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E3
Deuteranopia (green-blind)
#367ADD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5e79df;
/* rgb */ color: rgb(94, 121, 223);
/* oklch */ color: oklch(60.5% 0.157 270.0);
Tailwind
colors: {
  custom: {
    50: '#969fe9',
    500: '#5e79df',
    950: '#000000',
  },
}
SCSS
$custom: #5e79df;
$custom-light: #969fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79df",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 227.442,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60541,
    "c": 0.1573,
    "h": 270
  },
  "luminance": 0.21382
}

Semantic roles & 50–950 ramp

primary
#5E79DF
secondary
#E4DAB5
accent
#A817CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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