#5180DF#5180DF

#5180DF is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.3% C 0.153 H 262.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5180DF
RGBrgb(81, 128, 223)
HSLhsl(220, 69%, 60%)
HSVhsv(220, 64%, 87%)
CMYKcmyk(63.7%, 42.6%, 0%, 12.5%)
CIE-LABlab(54.57, 13.72, -53.26)
CIE-LCHlch(54.57, 55.00, 284.45°)
OKLaboklab(61.29% -0.019 -0.1519)
OKLCHoklch(61.29% 0.153 262.9)
XYZxyz(24.4271, 22.5131, 72.8559)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5180DF #DFB051
analogous
#51C7DF #5180DF #6951DF
triadic
#5180DF #DF5180 #80DF51
tetradic
#5180DF #DF51C7 #DFB051 #51DF69
square
#5180DF #DF51C7 #DFB051 #51DF69
split-complementary
#5180DF #DF6951 #C7DF51
monochromatic
#1C4699 #265DCD #5180DF #85A6E9 #B8CBF2

Accessibility & contrast

On white

3.82
#5180DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5180DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5180DF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5180DF#FFFFFF#000000##000000
##5180DF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE3
Deuteranopia (green-blind)
#3E7CDD
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5180df;
/* rgb */ color: rgb(81, 128, 223);
/* oklch */ color: oklch(61.3% 0.153 262.9);
Tailwind
colors: {
  custom: {
    50: '#8fa4e9',
    500: '#5180df',
    950: '#000000',
  },
}
SCSS
$custom: #5180df;
$custom-light: #8fa4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5180df",
  "rgb": {
    "r": 81,
    "g": 128,
    "b": 223
  },
  "hsl": {
    "h": 220.141,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61285,
    "c": 0.15312,
    "h": 262.9
  },
  "luminance": 0.22515
}

Semantic roles & 50–950 ramp

primary
#5180DF
secondary
#E1CFAA
accent
#B23CEC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5180DF

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

Preview Lab → · Contrast checker → · Palette generator →

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