#5B79CE#5B79CE

#5B79CE is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.3% C 0.135 H 267.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5B79CE
RGBrgb(91, 121, 206)
HSLhsl(224, 54%, 58%)
HSVhsv(224, 56%, 81%)
CMYKcmyk(55.8%, 41.3%, 0%, 19.2%)
CIE-LABlab(52.23, 14.22, -47.35)
CIE-LCHlch(52.23, 49.44, 286.71°)
OKLaboklab(59.32% -0.0057 -0.1345)
OKLCHoklch(59.32% 0.135 267.6)
XYZxyz(22.2886, 20.3534, 61.1346)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79CE #CEB05B
analogous
#5BB2CE #5B79CE #765BCE
triadic
#5B79CE #CE5B79 #79CE5B
tetradic
#5B79CE #CE5BB2 #CEB05B #5BCE76
square
#5B79CE #CE5BB2 #CEB05B #5BCE76
split-complementary
#5B79CE #CE765B #B2CE5B
monochromatic
#284186 #3657B6 #5B79CE #8AA0DC #B9C6EA

Accessibility & contrast

On white

4.14
#5B79CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5B79CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79CE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79CE#FFFFFF#000000##000000
##5B79CE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#138C99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b79ce;
/* rgb */ color: rgb(91, 121, 206);
/* oklch */ color: oklch(59.3% 0.135 267.6);
Tailwind
colors: {
  custom: {
    50: '#929fdd',
    500: '#5b79ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b79ce;
$custom-light: #929fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79ce",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 224.348,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59321,
    "c": 0.1346,
    "h": 267.6
  },
  "luminance": 0.20355
}

Semantic roles & 50–950 ramp

primary
#5B79CE
secondary
#D9CDAB
accent
#B74ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5B79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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