#5B79CF#5B79CF

#5B79CF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.136 H 267.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5B79CF
RGBrgb(91, 121, 207)
HSLhsl(224, 55%, 58%)
HSVhsv(224, 56%, 81%)
CMYKcmyk(56%, 41.5%, 0%, 18.8%)
CIE-LABlab(52.29, 14.54, -47.83)
CIE-LCHlch(52.29, 49.99, 286.91°)
OKLaboklab(59.38% -0.0055 -0.1359)
OKLCHoklch(59.38% 0.136 267.7)
XYZxyz(22.4105, 20.4022, 61.7764)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79CF #CFB15B
analogous
#5BB3CF #5B79CF #775BCF
triadic
#5B79CF #CF5B79 #79CF5B
tetradic
#5B79CF #CF5BB3 #CFB15B #5BCF77
square
#5B79CF #CF5BB3 #CFB15B #5BCF77
split-complementary
#5B79CF #CF775B #B3CF5B
monochromatic
#284188 #3657B7 #5B79CF #8AA0DD #BAC6EB

Accessibility & contrast

On white

4.13
#5B79CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5B79CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79CF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79CF#FFFFFF#000000##000000
##5B79CF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#4678CD
Tritanopia (blue-blind)
#108C9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b79cf;
/* rgb */ color: rgb(91, 121, 207);
/* oklch */ color: oklch(59.4% 0.136 267.7);
Tailwind
colors: {
  custom: {
    50: '#929fde',
    500: '#5b79cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b79cf;
$custom-light: #929fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79cf",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 224.483,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59381,
    "c": 0.136,
    "h": 267.7
  },
  "luminance": 0.20404
}

Semantic roles & 50–950 ramp

primary
#5B79CF
secondary
#DACEAC
accent
#B84ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5B79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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