#5B79CB#5B79CB

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

Color values

HEX#5B79CB
RGBrgb(91, 121, 203)
HSLhsl(224, 52%, 58%)
HSVhsv(224, 55%, 80%)
CMYKcmyk(55.2%, 40.4%, 0%, 20.4%)
CIE-LABlab(52.07, 13.24, -45.90)
CIE-LCHlch(52.07, 47.77, 286.09°)
OKLaboklab(59.14% -0.0063 -0.1302)
OKLCHoklch(59.14% 0.13 267.2)
XYZxyz(21.9276, 20.2090, 59.2336)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79CB #CBAD5B
analogous
#5BB1CB #5B79CB #755BCB
triadic
#5B79CB #CB5B79 #79CB5B
tetradic
#5B79CB #CB5BB1 #CBAD5B #5BCB75
square
#5B79CB #CB5BB1 #CBAD5B #5BCB75
split-complementary
#5B79CB #CB755B #B1CB5B
monochromatic
#294182 #3858B1 #5B79CB #899FDA #B8C5E8

Accessibility & contrast

On white

4.16
#5B79CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5B79CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79CB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79CB#FFFFFF#000000##000000
##5B79CB1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#4978C9
Tritanopia (blue-blind)
#198B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b79cb;
/* rgb */ color: rgb(91, 121, 203);
/* oklch */ color: oklch(59.1% 0.130 267.2);
Tailwind
colors: {
  custom: {
    50: '#919fdb',
    500: '#5b79cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b79cb;
$custom-light: #919fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79cb",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 223.929,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59144,
    "c": 0.13039,
    "h": 267.2
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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