#5E79F2#5E79F2

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

Color values

HEX#5E79F2
RGBrgb(94, 121, 242)
HSLhsl(229, 85%, 66%)
HSVhsv(229, 61%, 95%)
CMYKcmyk(61.2%, 50%, 0%, 5.1%)
CIE-LABlab(54.51, 26.66, -63.92)
CIE-LCHlch(54.51, 69.26, 292.64°)
OKLaboklab(61.79% 0.0023 -0.1831)
OKLCHoklch(61.79% 0.183 270.7)
XYZxyz(27.4751, 22.4629, 86.8751)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79F2 #F2D75E
analogous
#5EC3F2 #5E79F2 #8D5EF2
triadic
#5E79F2 #F25E79 #79F25E
tetradic
#5E79F2 #F25EC3 #F2D75E #5EF28D
square
#5E79F2 #F25EC3 #F2D75E #5EF28D
split-complementary
#5E79F2 #F28D5E #C3F25E
monochromatic
#1031C6 #254AED #5E79F2 #97A8F7 #CFD7FB

Accessibility & contrast

On white

3.82
#5E79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5E79F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79F2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79F2#FFFFFF#000000##000000
##5E79F21.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#0B7CEF
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e79f2;
/* rgb */ color: rgb(94, 121, 242);
/* oklch */ color: oklch(61.8% 0.183 270.7);
Tailwind
colors: {
  custom: {
    50: '#989ff7',
    500: '#5e79f2',
    950: '#000000',
  },
}
SCSS
$custom: #5e79f2;
$custom-light: #989ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79f2",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 229.054,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61786,
    "c": 0.18311,
    "h": 270.7
  },
  "luminance": 0.22465
}

Semantic roles & 50–950 ramp

primary
#5E79F2
secondary
#EEE5BD
accent
#B904E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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