#5079DC#5079DC

#5079DC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.6% C 0.158 H 265.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5079DC
RGBrgb(80, 121, 220)
HSLhsl(222, 67%, 59%)
HSVhsv(222, 64%, 86%)
CMYKcmyk(63.6%, 45%, 0%, 13.7%)
CIE-LABlab(52.45, 16.81, -54.97)
CIE-LCHlch(52.45, 57.48, 287.00°)
OKLaboklab(59.59% -0.0136 -0.157)
OKLCHoklch(59.59% 0.158 265.1)
XYZxyz(23.0594, 20.5454, 70.4467)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5079DC #DCB350
analogous
#50BFDC #5079DC #6D50DC
triadic
#5079DC #DC5079 #79DC50
tetradic
#5079DC #DC50BF #DCB350 #50DC6D
square
#5079DC #DC50BF #DCB350 #50DC6D
split-complementary
#5079DC #DC6D50 #BFDC50
monochromatic
#1E4094 #2856C7 #5079DC #83A0E6 #B6C7F0

Accessibility & contrast

On white

4.11
#5079DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5079DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5079DC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5079DC#FFFFFF#000000##000000
##5079DC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5079dc;
/* rgb */ color: rgb(80, 121, 220);
/* oklch */ color: oklch(59.6% 0.158 265.1);
Tailwind
colors: {
  custom: {
    50: '#8e9fe7',
    500: '#5079dc',
    950: '#000000',
  },
}
SCSS
$custom: #5079dc;
$custom-light: #8e9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5079dc",
  "rgb": {
    "r": 80,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 222.429,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.15764,
    "h": 265.1
  },
  "luminance": 0.20548
}

Semantic roles & 50–950 ramp

primary
#5079DC
secondary
#DFCFA8
accent
#B73EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5079DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5079DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva