#5180FF#5180FF

#5180FF is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.4% C 0.196 H 265.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5180FF
RGBrgb(81, 128, 255)
HSLhsl(224, 100%, 66%)
HSVhsv(224, 68%, 100%)
CMYKcmyk(68.2%, 49.8%, 0%, 0%)
CIE-LABlab(56.49, 24.75, -67.96)
CIE-LCHlch(56.49, 72.33, 290.01°)
OKLaboklab(63.38% -0.0144 -0.1951)
OKLCHoklch(63.38% 0.196 265.8)
XYZxyz(29.1562, 24.4047, 97.7624)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5180FF #FFD051
analogous
#51D7FF #5180FF #7951FF
triadic
#5180FF #FF5180 #80FF51
tetradic
#5180FF #FF51D7 #FFD051 #51FF79
square
#5180FF #FF51D7 #FFD051 #51FF79
split-complementary
#5180FF #FF7951 #D7FF51
monochromatic
#003AD6 #1453FF #5180FF #8EADFF #CBD9FF

Accessibility & contrast

On white

3.57
#5180FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5180FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5180FF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5180FF#FFFFFF#000000##000000
##5180FF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3490FF
Deuteranopia (green-blind)
#0080FC
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5180ff;
/* rgb */ color: rgb(81, 128, 255);
/* oklch */ color: oklch(63.4% 0.196 265.8);
Tailwind
colors: {
  custom: {
    50: '#94a4ff',
    500: '#5180ff',
    950: '#000000',
  },
}
SCSS
$custom: #5180ff;
$custom-light: #94a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5180ff",
  "rgb": {
    "r": 81,
    "g": 128,
    "b": 255
  },
  "hsl": {
    "h": 223.793,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63375,
    "c": 0.19568,
    "h": 265.8
  },
  "luminance": 0.24408
}

Semantic roles & 50–950 ramp

primary
#5180FF
secondary
#F3E3B9
accent
#A800E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5180FF

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

Preview Lab → · Contrast checker → · Palette generator →

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