#5180EE#5180EE

#5180EE is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.2% C 0.173 H 264.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5180EE
RGBrgb(81, 128, 238)
HSLhsl(222, 82%, 63%)
HSVhsv(222, 66%, 93%)
CMYKcmyk(66%, 46.2%, 0%, 6.7%)
CIE-LABlab(55.44, 18.88, -60.25)
CIE-LCHlch(55.44, 63.13, 287.40°)
OKLaboklab(62.24% -0.0166 -0.1724)
OKLCHoklch(62.24% 0.173 264.5)
XYZxyz(26.5397, 23.3582, 83.9823)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5180EE #EEBF51
analogous
#51CFEE #5180EE #7051EE
triadic
#5180EE #EE5180 #80EE51
tetradic
#5180EE #EE51CF #EEBF51 #51EE70
square
#5180EE #EE51CF #EEBF51 #51EE70
split-complementary
#5180EE #EE7051 #CFEE51
monochromatic
#1142B3 #1957E9 #5180EE #89A9F3 #C1D1F9

Accessibility & contrast

On white

3.70
#5180EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5180EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5180EE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5180EE#FFFFFF#000000##000000
##5180EE1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF2
Deuteranopia (green-blind)
#287EEC
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5180ee;
/* rgb */ color: rgb(81, 128, 238);
/* oklch */ color: oklch(62.2% 0.173 264.5);
Tailwind
colors: {
  custom: {
    50: '#91a4f4',
    500: '#5180ee',
    950: '#000000',
  },
}
SCSS
$custom: #5180ee;
$custom-light: #91a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5180ee",
  "rgb": {
    "r": 81,
    "g": 128,
    "b": 238
  },
  "hsl": {
    "h": 222.038,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62236,
    "c": 0.17325,
    "h": 264.5
  },
  "luminance": 0.23361
}

Semantic roles & 50–950 ramp

primary
#5180EE
secondary
#EAD9B1
accent
#9E07DF
background
#F9FAFF
surface
#F2F3FE
border
#CCCDD6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5180EE

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

Preview Lab → · Contrast checker → · Palette generator →

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