#5E79F3#5E79F3

#5E79F3 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.184 H 270.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5E79F3
RGBrgb(94, 121, 243)
HSLhsl(229, 86%, 66%)
HSVhsv(229, 61%, 95%)
CMYKcmyk(61.3%, 50.2%, 0%, 4.7%)
CIE-LABlab(54.58, 26.99, -64.38)
CIE-LCHlch(54.58, 69.80, 292.75°)
OKLaboklab(61.85% 0.0024 -0.1844)
OKLCHoklch(61.85% 0.184 270.7)
XYZxyz(27.6257, 22.5232, 87.6682)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79F3 #F3D85E
analogous
#5EC3F3 #5E79F3 #8D5EF3
triadic
#5E79F3 #F35E79 #79F35E
tetradic
#5E79F3 #F35EC3 #F3D85E #5EF38D
square
#5E79F3 #F35EC3 #F3D85E #5EF38D
split-complementary
#5E79F3 #F38D5E #C3F35E
monochromatic
#0F30C8 #254AEF #5E79F3 #97A8F7 #D0D8FB

Accessibility & contrast

On white

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

On black

5.51
#5E79F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79F3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79F3#FFFFFF#000000##000000
##5E79F31.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F7
Deuteranopia (green-blind)
#047CF0
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e79f3;
/* rgb */ color: rgb(94, 121, 243);
/* oklch */ color: oklch(61.9% 0.184 270.7);
Tailwind
colors: {
  custom: {
    50: '#999ff8',
    500: '#5e79f3',
    950: '#000000',
  },
}
SCSS
$custom: #5e79f3;
$custom-light: #999ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79f3",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 243
  },
  "hsl": {
    "h": 229.128,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61854,
    "c": 0.18446,
    "h": 270.7
  },
  "luminance": 0.22525
}

Semantic roles & 50–950 ramp

primary
#5E79F3
secondary
#EFE6BE
accent
#BA03E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E79F3

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

Preview Lab → · Contrast checker → · Palette generator →

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