#5E79F1#5E79F1

#5E79F1 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.182 H 270.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5E79F1
RGBrgb(94, 121, 241)
HSLhsl(229, 84%, 66%)
HSVhsv(229, 61%, 95%)
CMYKcmyk(61%, 49.8%, 0%, 5.5%)
CIE-LABlab(54.45, 26.33, -63.47)
CIE-LCHlch(54.45, 68.71, 292.53°)
OKLaboklab(61.72% 0.0022 -0.1818)
OKLCHoklch(61.72% 0.182 270.7)
XYZxyz(27.3253, 22.4030, 86.0863)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79F1 #F1D65E
analogous
#5EC2F1 #5E79F1 #8D5EF1
triadic
#5E79F1 #F15E79 #79F15E
tetradic
#5E79F1 #F15EC2 #F1D65E #5EF18D
square
#5E79F1 #F15EC2 #F1D65E #5EF18D
split-complementary
#5E79F1 #F18D5E #C2F15E
monochromatic
#1132C4 #264AEC #5E79F1 #96A8F6 #CFD7FB

Accessibility & contrast

On white

3.83
#5E79F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5E79F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79F1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79F1#FFFFFF#000000##000000
##5E79F11.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3789F5
Deuteranopia (green-blind)
#107CEF
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e79f1;
/* rgb */ color: rgb(94, 121, 241);
/* oklch */ color: oklch(61.7% 0.182 270.7);
Tailwind
colors: {
  custom: {
    50: '#989ff6',
    500: '#5e79f1',
    950: '#000000',
  },
}
SCSS
$custom: #5e79f1;
$custom-light: #989ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79f1",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 241
  },
  "hsl": {
    "h": 228.98,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.18177,
    "h": 270.7
  },
  "luminance": 0.22405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E79F1

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

Preview Lab → · Contrast checker → · Palette generator →

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