#5E79F4#5E79F4

#5E79F4 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.186 H 270.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5E79F4
RGBrgb(94, 121, 244)
HSLhsl(229, 87%, 66%)
HSVhsv(229, 61%, 96%)
CMYKcmyk(61.5%, 50.4%, 0%, 4.3%)
CIE-LABlab(54.64, 27.32, -64.83)
CIE-LCHlch(54.64, 70.35, 292.85°)
OKLaboklab(61.92% 0.0025 -0.1858)
OKLCHoklch(61.92% 0.186 270.8)
XYZxyz(27.7771, 22.5837, 88.4657)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79F4 #F4D95E
analogous
#5EC4F4 #5E79F4 #8E5EF4
triadic
#5E79F4 #F45E79 #79F45E
tetradic
#5E79F4 #F45EC4 #F4D95E #5EF48E
square
#5E79F4 #F45EC4 #F4D95E #5EF48E
split-complementary
#5E79F4 #F48E5E #C4F45E
monochromatic
#0E30CA #2549F0 #5E79F4 #97A9F8 #D1D8FC

Accessibility & contrast

On white

3.81
#5E79F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5E79F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79F4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79F4#FFFFFF#000000##000000
##5E79F41.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#338AF8
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e79f4;
/* rgb */ color: rgb(94, 121, 244);
/* oklch */ color: oklch(61.9% 0.186 270.8);
Tailwind
colors: {
  custom: {
    50: '#999ff8',
    500: '#5e79f4',
    950: '#000000',
  },
}
SCSS
$custom: #5e79f4;
$custom-light: #999ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79f4",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 229.2,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.18579,
    "h": 270.8
  },
  "luminance": 0.22586
}

Semantic roles & 50–950 ramp

primary
#5E79F4
secondary
#EFE7BE
accent
#BB02E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E79F4

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

Preview Lab → · Contrast checker → · Palette generator →

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