#5E79DD#5E79DD

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

Color values

HEX#5E79DD
RGBrgb(94, 121, 221)
HSLhsl(227, 65%, 62%)
HSVhsv(227, 57%, 87%)
CMYKcmyk(57.5%, 45.2%, 0%, 13.3%)
CIE-LABlab(53.25, 19.73, -54.21)
CIE-LCHlch(53.25, 57.69, 290.00°)
OKLaboklab(60.42% -0.0002 -0.1545)
OKLCHoklch(60.42% 0.155 269.9)
XYZxyz(24.5003, 21.2730, 71.2076)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79DD #DDC25E
analogous
#5EB9DD #5E79DD #835EDD
triadic
#5E79DD #DD5E79 #79DD5E
tetradic
#5E79DD #DD5EB9 #DDC25E #5EDD83
square
#5E79DD #DD5EB9 #DDC25E #5EDD83
split-complementary
#5E79DD #DD835E #B9DD5E
monochromatic
#223C9F #2C4FD2 #5E79DD #91A3E8 #C3CDF2

Accessibility & contrast

On white

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

On black

5.25
#5E79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79DD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79DD#FFFFFF#000000##000000
##5E79DD1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E1
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5e79dd;
/* rgb */ color: rgb(94, 121, 221);
/* oklch */ color: oklch(60.4% 0.155 269.9);
Tailwind
colors: {
  custom: {
    50: '#959fe8',
    500: '#5e79dd',
    950: '#000000',
  },
}
SCSS
$custom: #5e79dd;
$custom-light: #959fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79dd",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 227.244,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.15454,
    "h": 269.9
  },
  "luminance": 0.21275
}

Semantic roles & 50–950 ramp

primary
#5E79DD
secondary
#E3D9B4
accent
#A719CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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