#5E79D2#5E79D2

#5E79D2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.7% C 0.139 H 269.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5E79D2
RGBrgb(94, 121, 210)
HSLhsl(226, 56%, 60%)
HSVhsv(226, 55%, 82%)
CMYKcmyk(55.2%, 42.4%, 0%, 17.6%)
CIE-LABlab(52.63, 16.15, -48.99)
CIE-LCHlch(52.63, 51.58, 288.24°)
OKLaboklab(59.74% -0.002 -0.1392)
OKLCHoklch(59.74% 0.139 269.2)
XYZxyz(23.0825, 20.7059, 63.7405)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79D2 #D2B75E
analogous
#5EB3D2 #5E79D2 #7D5ED2
triadic
#5E79D2 #D25E79 #79D25E
tetradic
#5E79D2 #D25EB3 #D2B75E #5ED27D
square
#5E79D2 #D25EB3 #D2B75E #5ED27D
split-complementary
#5E79D2 #D27D5E #B3D25E
monochromatic
#283F8E #3555BE #5E79D2 #8EA1DF #BEC9ED

Accessibility & contrast

On white

4.08
#5E79D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5E79D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79D2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79D2#FFFFFF#000000##000000
##5E79D21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5383D5
Deuteranopia (green-blind)
#4579D0
Tritanopia (blue-blind)
#1A8D9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e79d2;
/* rgb */ color: rgb(94, 121, 210);
/* oklch */ color: oklch(59.7% 0.139 269.2);
Tailwind
colors: {
  custom: {
    50: '#949fe0',
    500: '#5e79d2',
    950: '#000000',
  },
}
SCSS
$custom: #5e79d2;
$custom-light: #949fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79d2",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 226.034,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59739,
    "c": 0.13923,
    "h": 269.2
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

primary
#5E79D2
secondary
#DCD2AF
accent
#BC48E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5E79D2

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

Preview Lab → · Contrast checker → · Palette generator →

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