#5B79CD#5B79CD

#5B79CD is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.133 H 267.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5B79CD
RGBrgb(91, 121, 205)
HSLhsl(224, 53%, 58%)
HSVhsv(224, 56%, 80%)
CMYKcmyk(55.6%, 41%, 0%, 19.6%)
CIE-LABlab(52.18, 13.89, -46.87)
CIE-LCHlch(52.18, 48.88, 286.51°)
OKLaboklab(59.26% -0.0059 -0.1331)
OKLCHoklch(59.26% 0.133 267.4)
XYZxyz(22.1675, 20.3050, 60.4969)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79CD #CDAF5B
analogous
#5BB2CD #5B79CD #765BCD
triadic
#5B79CD #CD5B79 #79CD5B
tetradic
#5B79CD #CD5BB2 #CDAF5B #5BCD76
square
#5B79CD #CD5BB2 #CDAF5B #5BCD76
split-complementary
#5B79CD #CD765B #B2CD5B
monochromatic
#294185 #3758B4 #5B79CD #8A9FDB #B9C6EA

Accessibility & contrast

On white

4.15
#5B79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5B79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79CD#FFFFFF#000000##000000
##5B79CD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682D0
Deuteranopia (green-blind)
#4778CB
Tritanopia (blue-blind)
#158B99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b79cd;
/* rgb */ color: rgb(91, 121, 205);
/* oklch */ color: oklch(59.3% 0.133 267.4);
Tailwind
colors: {
  custom: {
    50: '#919fdd',
    500: '#5b79cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b79cd;
$custom-light: #919fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79cd",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 224.211,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59262,
    "c": 0.1332,
    "h": 267.4
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#5B79CD
secondary
#D9CDAB
accent
#B64BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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