#5E79CC#5E79CC

#5E79CC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.131 H 268.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5E79CC
RGBrgb(94, 121, 204)
HSLhsl(225, 52%, 58%)
HSVhsv(225, 54%, 80%)
CMYKcmyk(53.9%, 40.7%, 0%, 20%)
CIE-LABlab(52.30, 14.21, -46.10)
CIE-LCHlch(52.30, 48.24, 287.13°)
OKLaboklab(59.38% -0.0031 -0.1307)
OKLCHoklch(59.38% 0.131 268.6)
XYZxyz(22.3489, 20.4125, 59.8773)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79CC #CCB15E
analogous
#5EB0CC #5E79CC #7A5ECC
triadic
#5E79CC #CC5E79 #79CC5E
tetradic
#5E79CC #CC5EB0 #CCB15E #5ECC7A
square
#5E79CC #CC5EB0 #CCB15E #5ECC7A
split-complementary
#5E79CC #CC7A5E #B0CC5E
monochromatic
#2A4185 #3957B4 #5E79CC #8CA0DB #BBC6E9

Accessibility & contrast

On white

4.13
#5E79CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5E79CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79CC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79CC#FFFFFF#000000##000000
##5E79CC1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#248B98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e79cc;
/* rgb */ color: rgb(94, 121, 204);
/* oklch */ color: oklch(59.4% 0.131 268.6);
Tailwind
colors: {
  custom: {
    50: '#939fdc',
    500: '#5e79cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e79cc;
$custom-light: #939fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79cc",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 225.273,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.13079,
    "h": 268.6
  },
  "luminance": 0.20414
}

Semantic roles & 50–950 ramp

primary
#5E79CC
secondary
#D9CEAD
accent
#B84CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5E79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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