#5E79EB#5E79EB

#5E79EB is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.174 H 270.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5E79EB
RGBrgb(94, 121, 235)
HSLhsl(229, 78%, 65%)
HSVhsv(229, 60%, 92%)
CMYKcmyk(60%, 48.5%, 0%, 7.8%)
CIE-LABlab(54.08, 24.34, -60.72)
CIE-LCHlch(54.08, 65.42, 291.84°)
OKLaboklab(61.32% 0.0016 -0.1737)
OKLCHoklch(61.32% 0.174 270.5)
XYZxyz(26.4438, 22.0504, 81.4438)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79EB #EBD05E
analogous
#5EBFEB #5E79EB #8A5EEB
triadic
#5E79EB #EB5E79 #79EB5E
tetradic
#5E79EB #EB5EBF #EBD05E #5EEB8A
square
#5E79EB #EB5EBF #EBD05E #5EEB8A
split-complementary
#5E79EB #EB8A5E #BFEB5E
monochromatic
#1736B8 #284CE4 #5E79EB #94A6F2 #CBD4F9

Accessibility & contrast

On white

3.88
#5E79EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5E79EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79EB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79EB#FFFFFF#000000##000000
##5E79EB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88EF
Deuteranopia (green-blind)
#227BE9
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e79eb;
/* rgb */ color: rgb(94, 121, 235);
/* oklch */ color: oklch(61.3% 0.174 270.5);
Tailwind
colors: {
  custom: {
    50: '#979ff2',
    500: '#5e79eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e79eb;
$custom-light: #979ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79eb",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 228.511,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61318,
    "c": 0.1737,
    "h": 270.5
  },
  "luminance": 0.22053
}

Semantic roles & 50–950 ramp

primary
#5E79EB
secondary
#EBE1BA
accent
#B30BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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