#5A79DB#5A79DB

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

Color values

HEX#5A79DB
RGBrgb(90, 121, 219)
HSLhsl(226, 64%, 61%)
HSVhsv(226, 59%, 86%)
CMYKcmyk(58.9%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.91, 18.30, -53.64)
CIE-LCHlch(52.91, 56.67, 288.83°)
OKLaboklab(60.06% -0.0044 -0.1529)
OKLCHoklch(60.06% 0.153 268.3)
XYZxyz(23.8357, 20.9609, 69.7939)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79DB #DBBC5A
analogous
#5ABADB #5A79DB #7B5ADB
triadic
#5A79DB #DB5A79 #79DB5A
tetradic
#5A79DB #DB5ABA #DBBC5A #5ADB7B
square
#5A79DB #DB5ABA #DBBC5A #5ADB7B
split-complementary
#5A79DB #DB7B5A #BADB5A
monochromatic
#213E99 #2C53CB #5A79DB #8CA2E6 #BECBF1

Accessibility & contrast

On white

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

On black

5.19
#5A79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79DB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79DB#FFFFFF#000000##000000
##5A79DB1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.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: #5a79db;
/* rgb */ color: rgb(90, 121, 219);
/* oklch */ color: oklch(60.1% 0.153 268.3);
Tailwind
colors: {
  custom: {
    50: '#939fe7',
    500: '#5a79db',
    950: '#000000',
  },
}
SCSS
$custom: #5a79db;
$custom-light: #939fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79db",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 225.581,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60058,
    "c": 0.15301,
    "h": 268.3
  },
  "luminance": 0.20963
}

Semantic roles & 50–950 ramp

primary
#5A79DB
secondary
#E1D5B0
accent
#A11ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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