#5B79CA#5B79CA

#5B79CA is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.129 H 267.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5B79CA
RGBrgb(91, 121, 202)
HSLhsl(224, 51%, 57%)
HSVhsv(224, 55%, 79%)
CMYKcmyk(55%, 40.1%, 0%, 20.8%)
CIE-LABlab(52.02, 12.92, -45.42)
CIE-LCHlch(52.02, 47.22, 285.88°)
OKLaboklab(59.09% -0.0065 -0.1288)
OKLCHoklch(59.09% 0.129 267.1)
XYZxyz(21.8089, 20.1615, 58.6080)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79CA #CAAC5B
analogous
#5BB0CA #5B79CA #755BCA
triadic
#5B79CA #CA5B79 #79CA5B
tetradic
#5B79CA #CA5BB0 #CAAC5B #5BCA75
square
#5B79CA #CA5BB0 #CAAC5B #5BCA75
split-complementary
#5B79CA #CA755B #B0CA5B
monochromatic
#2A4181 #3959AF #5B79CA #899FD9 #B8C5E8

Accessibility & contrast

On white

4.17
#5B79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5B79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79CA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79CA#FFFFFF#000000##000000
##5B79CA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#1B8B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b79ca;
/* rgb */ color: rgb(91, 121, 202);
/* oklch */ color: oklch(59.1% 0.129 267.1);
Tailwind
colors: {
  custom: {
    50: '#919fda',
    500: '#5b79ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b79ca;
$custom-light: #919fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79ca",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 223.784,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59085,
    "c": 0.12898,
    "h": 267.1
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#5B79CA
secondary
#D7CBAA
accent
#B44DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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