#5B79DB#5B79DB

#5B79DB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.153 H 268.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5B79DB
RGBrgb(91, 121, 219)
HSLhsl(226, 64%, 61%)
HSVhsv(226, 58%, 86%)
CMYKcmyk(58.4%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.96, 18.49, -53.55)
CIE-LCHlch(52.96, 56.65, 289.05°)
OKLaboklab(60.11% -0.0035 -0.1527)
OKLCHoklch(60.11% 0.153 268.7)
XYZxyz(23.9336, 21.0114, 69.7985)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B79DB #DBBD5B
analogous
#5BB9DB #5B79DB #7D5BDB
triadic
#5B79DB #DB5B79 #79DB5B
tetradic
#5B79DB #DB5BB9 #DBBD5B #5BDB7D
square
#5B79DB #DB5BB9 #DBBD5B #5BDB7D
split-complementary
#5B79DB #DB7D5B #B9DB5B
monochromatic
#223E9A #2D52CC #5B79DB #8DA2E6 #BFCBF1

Accessibility & contrast

On white

4.04
#5B79DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5B79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B79DB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B79DB#FFFFFF#000000##000000
##5B79DB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DF
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b79db;
/* rgb */ color: rgb(91, 121, 219);
/* oklch */ color: oklch(60.1% 0.153 268.7);
Tailwind
colors: {
  custom: {
    50: '#939fe7',
    500: '#5b79db',
    950: '#000000',
  },
}
SCSS
$custom: #5b79db;
$custom-light: #939fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b79db",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 225.938,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.1527,
    "h": 268.7
  },
  "luminance": 0.21013
}

Semantic roles & 50–950 ramp

primary
#5B79DB
secondary
#E1D6B1
accent
#A21ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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