#5179DB#5179DB

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

Color values

HEX#5179DB
RGBrgb(81, 121, 219)
HSLhsl(223, 66%, 59%)
HSVhsv(223, 63%, 86%)
CMYKcmyk(63%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.44, 16.64, -54.42)
CIE-LCHlch(52.44, 56.90, 287.00°)
OKLaboklab(59.57% -0.0128 -0.1554)
OKLCHoklch(59.57% 0.156 265.3)
XYZxyz(23.0125, 20.5365, 69.7553)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5179DB #DBB351
analogous
#51BEDB #5179DB #6E51DB
triadic
#5179DB #DB5179 #79DB51
tetradic
#5179DB #DB51BE #DBB351 #51DB6E
square
#5179DB #DB51BE #DBB351 #51DB6E
split-complementary
#5179DB #DB6E51 #BEDB51
monochromatic
#1E4093 #2956C6 #5179DB #84A0E5 #B6C7F0

Accessibility & contrast

On white

4.11
#5179DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5179DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5179DB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5179DB#FFFFFF#000000##000000
##5179DB1.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)
#4A84DF
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5179db;
/* rgb */ color: rgb(81, 121, 219);
/* oklch */ color: oklch(59.6% 0.156 265.3);
Tailwind
colors: {
  custom: {
    50: '#8e9fe7',
    500: '#5179db',
    950: '#000000',
  },
}
SCSS
$custom: #5179db;
$custom-light: #8e9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5179db",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 222.609,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59574,
    "c": 0.15594,
    "h": 265.3
  },
  "luminance": 0.20539
}

Semantic roles & 50–950 ramp

primary
#5179DB
secondary
#DFCFA9
accent
#B83FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5179DB

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

Preview Lab → · Contrast checker → · Palette generator →

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