#5182E6#5182E6

#5182E6 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.1% C 0.160 H 262.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5182E6
RGBrgb(81, 130, 230)
HSLhsl(220, 75%, 61%)
HSVhsv(220, 65%, 90%)
CMYKcmyk(64.8%, 43.5%, 0%, 9.8%)
CIE-LABlab(55.51, 14.91, -55.68)
CIE-LCHlch(55.51, 57.64, 284.99°)
OKLaboklab(62.14% -0.0197 -0.159)
OKLCHoklch(62.14% 0.16 262.9)
XYZxyz(25.6539, 23.4253, 78.0172)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5182E6 #E6B551
analogous
#51CDE6 #5182E6 #6A51E6
triadic
#5182E6 #E65182 #82E651
tetradic
#5182E6 #E651CD #E6B551 #51E66A
square
#5182E6 #E651CD #E6B551 #51E66A
split-complementary
#5182E6 #E66A51 #CDE651
monochromatic
#1846A5 #1F5DDA #5182E6 #87A8EE #BCCFF5

Accessibility & contrast

On white

3.69
#5182E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5182E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5182E6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5182E6#FFFFFF#000000##000000
##5182E61.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#528CEA
Deuteranopia (green-blind)
#3A7FE4
Tritanopia (blue-blind)
#0099A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5182e6;
/* rgb */ color: rgb(81, 130, 230);
/* oklch */ color: oklch(62.1% 0.160 262.9);
Tailwind
colors: {
  custom: {
    50: '#90a5ee',
    500: '#5182e6',
    950: '#000000',
  },
}
SCSS
$custom: #5182e6;
$custom-light: #90a5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5182e6",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 230
  },
  "hsl": {
    "h": 220.268,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62138,
    "c": 0.16022,
    "h": 262.9
  },
  "luminance": 0.23428
}

Semantic roles & 50–950 ramp

primary
#5182E6
secondary
#E5D3AD
accent
#950ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5182E6

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

Preview Lab → · Contrast checker → · Palette generator →

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