#5E79DA#5E79DA

#5E79DA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.150 H 269.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5E79DA
RGBrgb(94, 121, 218)
HSLhsl(227, 63%, 61%)
HSVhsv(227, 57%, 85%)
CMYKcmyk(56.9%, 44.5%, 0%, 14.5%)
CIE-LABlab(53.07, 18.75, -52.79)
CIE-LCHlch(53.07, 56.03, 289.55°)
OKLaboklab(60.23% -0.0007 -0.1504)
OKLCHoklch(60.23% 0.15 269.7)
XYZxyz(24.1041, 21.1145, 69.1214)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79DA #DABF5E
analogous
#5EB7DA #5E79DA #815EDA
triadic
#5E79DA #DA5E79 #79DA5E
tetradic
#5E79DA #DA5EB7 #DABF5E #5EDA81
square
#5E79DA #DA5EB7 #DABF5E #5EDA81
split-complementary
#5E79DA #DA815E #B7DA5E
monochromatic
#233D9A #2F51CC #5E79DA #90A2E5 #C2CCF1

Accessibility & contrast

On white

4.02
#5E79DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5E79DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79DA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79DA#FFFFFF#000000##000000
##5E79DA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85DE
Deuteranopia (green-blind)
#3C7AD8
Tritanopia (blue-blind)
#028F9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5e79da;
/* rgb */ color: rgb(94, 121, 218);
/* oklch */ color: oklch(60.2% 0.150 269.7);
Tailwind
colors: {
  custom: {
    50: '#959fe6',
    500: '#5e79da',
    950: '#000000',
  },
}
SCSS
$custom: #5e79da;
$custom-light: #959fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79da",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 218
  },
  "hsl": {
    "h": 226.935,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.15039,
    "h": 269.7
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#5E79DA
secondary
#E1D7B3
accent
#A41BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E79DA

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

Preview Lab → · Contrast checker → · Palette generator →

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