#5E79CD#5E79CD

#5E79CD is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.4% C 0.132 H 268.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5E79CD
RGBrgb(94, 121, 205)
HSLhsl(225, 53%, 59%)
HSVhsv(225, 54%, 80%)
CMYKcmyk(54.1%, 41%, 0%, 19.6%)
CIE-LABlab(52.35, 14.53, -46.58)
CIE-LCHlch(52.35, 48.80, 287.33°)
OKLaboklab(59.44% -0.0029 -0.1322)
OKLCHoklch(59.44% 0.132 268.7)
XYZxyz(22.4693, 20.4606, 60.5110)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79CD #CDB25E
analogous
#5EB1CD #5E79CD #7A5ECD
triadic
#5E79CD #CD5E79 #79CD5E
tetradic
#5E79CD #CD5EB1 #CDB25E #5ECD7A
square
#5E79CD #CD5EB1 #CDB25E #5ECD7A
split-complementary
#5E79CD #CD7A5E #B1CD5E
monochromatic
#2A4087 #3857B5 #5E79CD #8DA0DC #BBC7EA

Accessibility & contrast

On white

4.12
#5E79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5E79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79CD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79CD#FFFFFF#000000##000000
##5E79CD1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682D0
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#238B99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e79cd;
/* rgb */ color: rgb(94, 121, 205);
/* oklch */ color: oklch(59.4% 0.132 268.7);
Tailwind
colors: {
  custom: {
    50: '#939fdd',
    500: '#5e79cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e79cd;
$custom-light: #939fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79cd",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 225.405,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59441,
    "c": 0.1322,
    "h": 268.7
  },
  "luminance": 0.20462
}

Semantic roles & 50–950 ramp

primary
#5E79CD
secondary
#D9CFAD
accent
#B94CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5E79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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