#5E79EF#5E79EF

#5E79EF is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.179 H 270.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5E79EF
RGBrgb(94, 121, 239)
HSLhsl(229, 82%, 65%)
HSVhsv(229, 61%, 94%)
CMYKcmyk(60.7%, 49.4%, 0%, 6.3%)
CIE-LABlab(54.33, 25.66, -62.55)
CIE-LCHlch(54.33, 67.61, 292.31°)
OKLaboklab(61.58% 0.002 -0.1791)
OKLCHoklch(61.58% 0.179 270.6)
XYZxyz(27.0282, 22.2842, 84.5216)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79EF #EFD45E
analogous
#5EC1EF #5E79EF #8C5EEF
triadic
#5E79EF #EF5E79 #79EF5E
tetradic
#5E79EF #EF5EC1 #EFD45E #5EEF8C
square
#5E79EF #EF5EC1 #EFD45E #5EEF8C
split-complementary
#5E79EF #EF8C5E #C1EF5E
monochromatic
#1333C0 #264BE9 #5E79EF #96A7F5 #CDD6FA

Accessibility & contrast

On white

3.85
#5E79EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5E79EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79EF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79EF#FFFFFF#000000##000000
##5E79EF1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3989F3
Deuteranopia (green-blind)
#187CED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e79ef;
/* rgb */ color: rgb(94, 121, 239);
/* oklch */ color: oklch(61.6% 0.179 270.6);
Tailwind
colors: {
  custom: {
    50: '#989ff5',
    500: '#5e79ef',
    950: '#000000',
  },
}
SCSS
$custom: #5e79ef;
$custom-light: #989ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79ef",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 228.828,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61584,
    "c": 0.17909,
    "h": 270.6
  },
  "luminance": 0.22286
}

Semantic roles & 50–950 ramp

primary
#5E79EF
secondary
#EDE4BC
accent
#B607DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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