#5180DB#5180DB

#5180DB is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.0% C 0.148 H 262.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5180DB
RGBrgb(81, 128, 219)
HSLhsl(220, 66%, 59%)
HSVhsv(220, 63%, 86%)
CMYKcmyk(63%, 41.6%, 0%, 14.1%)
CIE-LABlab(54.34, 12.36, -51.37)
CIE-LCHlch(54.34, 52.84, 283.53°)
OKLaboklab(61.04% -0.0198 -0.1464)
OKLCHoklch(61.04% 0.148 262.3)
XYZxyz(23.8942, 22.2999, 70.0492)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5180DB #DBAC51
analogous
#51C5DB #5180DB #6751DB
triadic
#5180DB #DB5180 #80DB51
tetradic
#5180DB #DB51C5 #DBAC51 #51DB67
square
#5180DB #DB51C5 #DBAC51 #51DB67
split-complementary
#5180DB #DB6751 #C5DB51
monochromatic
#1E4693 #295EC6 #5180DB #84A5E5 #B6CAF0

Accessibility & contrast

On white

3.85
#5180DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5180DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5180DB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5180DB#FFFFFF#000000##000000
##5180DB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DF
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5180db;
/* rgb */ color: rgb(81, 128, 219);
/* oklch */ color: oklch(61.0% 0.148 262.3);
Tailwind
colors: {
  custom: {
    50: '#8ea4e7',
    500: '#5180db',
    950: '#000000',
  },
}
SCSS
$custom: #5180db;
$custom-light: #8ea4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5180db",
  "rgb": {
    "r": 81,
    "g": 128,
    "b": 219
  },
  "hsl": {
    "h": 219.565,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.14771,
    "h": 262.3
  },
  "luminance": 0.22302
}

Semantic roles & 50–950 ramp

primary
#5180DB
secondary
#DFCDA9
accent
#AF3FE9
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5180DB

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

Preview Lab → · Contrast checker → · Palette generator →

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