#5182DA#5182DA

#5182DA is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.4% C 0.144 H 261.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5182DA
RGBrgb(81, 130, 218)
HSLhsl(219, 65%, 59%)
HSVhsv(219, 63%, 85%)
CMYKcmyk(62.8%, 40.4%, 0%, 14.5%)
CIE-LABlab(54.84, 10.80, -50.02)
CIE-LCHlch(54.84, 51.17, 282.19°)
OKLaboklab(61.41% -0.022 -0.1424)
OKLCHoklch(61.41% 0.144 261.2)
XYZxyz(24.0264, 22.7743, 69.4458)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5182DA #DAA951
analogous
#51C6DA #5182DA #6451DA
triadic
#5182DA #DA5182 #82DA51
tetradic
#5182DA #DA51C6 #DAA951 #51DA64
square
#5182DA #DA51C6 #DAA951 #51DA64
split-complementary
#5182DA #DA6451 #C6DA51
monochromatic
#1F4892 #2A61C4 #5182DA #83A6E5 #B6CBEF

Accessibility & contrast

On white

3.78
#5182DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5182DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5182DA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5182DA#FFFFFF#000000##000000
##5182DA1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8ADD
Deuteranopia (green-blind)
#477DD8
Tritanopia (blue-blind)
#0096A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5182da;
/* rgb */ color: rgb(81, 130, 218);
/* oklch */ color: oklch(61.4% 0.144 261.2);
Tailwind
colors: {
  custom: {
    50: '#8ea5e6',
    500: '#5182da',
    950: '#000000',
  },
}
SCSS
$custom: #5182da;
$custom-light: #8ea5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5182da",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 218
  },
  "hsl": {
    "h": 218.54,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.14408,
    "h": 261.2
  },
  "luminance": 0.22777
}

Semantic roles & 50–950 ramp

primary
#5182DA
secondary
#DECBA8
accent
#AC40E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5182DA

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

Preview Lab → · Contrast checker → · Palette generator →

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