#5079DB#5079DB

#5079DB is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.5% C 0.156 H 265.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5079DB
RGBrgb(80, 121, 219)
HSLhsl(222, 66%, 59%)
HSVhsv(222, 63%, 86%)
CMYKcmyk(63.5%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.39, 16.47, -54.50)
CIE-LCHlch(52.39, 56.93, 286.81°)
OKLaboklab(59.52% -0.0137 -0.1557)
OKLCHoklch(59.52% 0.156 265)
XYZxyz(22.9274, 20.4926, 69.7513)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5079DB #DBB250
analogous
#50BEDB #5079DB #6C50DB
triadic
#5079DB #DB5079 #79DB50
tetradic
#5079DB #DB50BE #DBB250 #50DB6C
square
#5079DB #DB50BE #DBB250 #50DB6C
split-complementary
#5079DB #DB6C50 #BEDB50
monochromatic
#1E4092 #2957C5 #5079DB #83A0E5 #B6C7F0

Accessibility & contrast

On white

4.12
#5079DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5079DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5079DB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5079DB#FFFFFF#000000##000000
##5079DB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5079db;
/* rgb */ color: rgb(80, 121, 219);
/* oklch */ color: oklch(59.5% 0.156 265.0);
Tailwind
colors: {
  custom: {
    50: '#8e9fe7',
    500: '#5079db',
    950: '#000000',
  },
}
SCSS
$custom: #5079db;
$custom-light: #8e9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5079db",
  "rgb": {
    "r": 80,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 222.302,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.15627,
    "h": 265
  },
  "luminance": 0.20495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5079DB

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

Preview Lab → · Contrast checker → · Palette generator →

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