#5180EB#5180EB

#5180EB is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.169 H 264.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5180EB
RGBrgb(81, 128, 235)
HSLhsl(222, 79%, 62%)
HSVhsv(222, 66%, 92%)
CMYKcmyk(65.5%, 45.5%, 0%, 7.8%)
CIE-LABlab(55.26, 17.84, -58.86)
CIE-LCHlch(55.26, 61.51, 286.86°)
OKLaboklab(62.04% -0.017 -0.1684)
OKLCHoklch(62.04% 0.169 264.2)
XYZxyz(26.1027, 23.1833, 81.6804)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5180EB #EBBC51
analogous
#51CDEB #5180EB #6F51EB
triadic
#5180EB #EB5180 #80EB51
tetradic
#5180EB #EB51CD #EBBC51 #51EB6F
square
#5180EB #EB51CD #EBBC51 #51EB6F
split-complementary
#5180EB #EB6F51 #CDEB51
monochromatic
#1443AE #1A58E5 #5180EB #88A8F1 #BFD0F8

Accessibility & contrast

On white

3.73
#5180EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5180EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5180EB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5180EB#FFFFFF#000000##000000
##5180EB1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEF
Deuteranopia (green-blind)
#2D7EE9
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5180eb;
/* rgb */ color: rgb(81, 128, 235);
/* oklch */ color: oklch(62.0% 0.169 264.2);
Tailwind
colors: {
  custom: {
    50: '#91a4f2',
    500: '#5180eb',
    950: '#000000',
  },
}
SCSS
$custom: #5180eb;
$custom-light: #91a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5180eb",
  "rgb": {
    "r": 81,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 221.688,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62042,
    "c": 0.16924,
    "h": 264.2
  },
  "luminance": 0.23186
}

Semantic roles & 50–950 ramp

primary
#5180EB
secondary
#E8D7B0
accent
#9C0ADC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5180EB

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

Preview Lab → · Contrast checker → · Palette generator →

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