#5182E8#5182E8

#5182E8 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.3% C 0.163 H 263.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5182E8
RGBrgb(81, 130, 232)
HSLhsl(221, 77%, 61%)
HSVhsv(221, 65%, 91%)
CMYKcmyk(65.1%, 44%, 0%, 9%)
CIE-LABlab(55.62, 15.59, -56.61)
CIE-LCHlch(55.62, 58.72, 285.40°)
OKLaboklab(62.26% -0.0194 -0.1617)
OKLCHoklch(62.26% 0.163 263.2)
XYZxyz(25.9363, 23.5383, 79.5048)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5182E8 #E8B751
analogous
#51CEE8 #5182E8 #6C51E8
triadic
#5182E8 #E85182 #82E851
tetradic
#5182E8 #E851CE #E8B751 #51E86C
square
#5182E8 #E851CE #E8B751 #51E86C
split-complementary
#5182E8 #E86C51 #CEE851
monochromatic
#1646A8 #1D5CDE #5182E8 #87A9EF #BDD0F6

Accessibility & contrast

On white

3.68
#5182E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5182E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5182E8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5182E8#FFFFFF#000000##000000
##5182E81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#518DEC
Deuteranopia (green-blind)
#377FE6
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5182e8;
/* rgb */ color: rgb(81, 130, 232);
/* oklch */ color: oklch(62.3% 0.163 263.2);
Tailwind
colors: {
  custom: {
    50: '#90a5f0',
    500: '#5182e8',
    950: '#000000',
  },
}
SCSS
$custom: #5182e8;
$custom-light: #90a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5182e8",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 232
  },
  "hsl": {
    "h": 220.53,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62263,
    "c": 0.1629,
    "h": 263.2
  },
  "luminance": 0.23541
}

Semantic roles & 50–950 ramp

primary
#5182E8
secondary
#E7D4AE
accent
#970DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5182E8

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

Preview Lab → · Contrast checker → · Palette generator →

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