#5182EA#5182EA

#5182EA is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.4% C 0.166 H 263.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5182EA
RGBrgb(81, 130, 234)
HSLhsl(221, 78%, 62%)
HSVhsv(221, 65%, 92%)
CMYKcmyk(65.4%, 44.4%, 0%, 8.2%)
CIE-LABlab(55.74, 16.28, -57.54)
CIE-LCHlch(55.74, 59.80, 285.80°)
OKLaboklab(62.39% -0.019 -0.1645)
OKLCHoklch(62.39% 0.166 263.4)
XYZxyz(26.2220, 23.6526, 81.0095)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5182EA #EAB951
analogous
#51CFEA #5182EA #6D51EA
triadic
#5182EA #EA5182 #82EA51
tetradic
#5182EA #EA51CF #EAB951 #51EA6D
square
#5182EA #EA51CF #EAB951 #51EA6D
split-complementary
#5182EA #EA6D51 #CFEA51
monochromatic
#1545AC #1B5BE2 #5182EA #88A9F1 #BED0F7

Accessibility & contrast

On white

3.66
#5182EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5182EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5182EA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5182EA#FFFFFF#000000##000000
##5182EA1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5182ea;
/* rgb */ color: rgb(81, 130, 234);
/* oklch */ color: oklch(62.4% 0.166 263.4);
Tailwind
colors: {
  custom: {
    50: '#91a5f1',
    500: '#5182ea',
    950: '#000000',
  },
}
SCSS
$custom: #5182ea;
$custom-light: #91a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5182ea",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 220.784,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62389,
    "c": 0.16557,
    "h": 263.4
  },
  "luminance": 0.23655
}

Semantic roles & 50–950 ramp

primary
#5182EA
secondary
#E8D6AF
accent
#980BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5182EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5182EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva