#5182CA#5182CA

#5182CA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.5% C 0.123 H 257.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5182CA
RGBrgb(81, 130, 202)
HSLhsl(216, 53%, 55%)
HSVhsv(216, 60%, 79%)
CMYKcmyk(59.9%, 35.6%, 0%, 20.8%)
CIE-LABlab(54.00, 5.41, -42.31)
CIE-LCHlch(54.00, 42.65, 277.29°)
OKLaboklab(60.48% -0.0256 -0.1198)
OKLCHoklch(60.48% 0.123 257.9)
XYZxyz(22.0329, 21.9769, 58.9465)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5182CA #CA9951
analogous
#51BFCA #5182CA #5C51CA
triadic
#5182CA #CA5182 #82CA51
tetradic
#5182CA #CA51BF #CA9951 #51CA5C
square
#5182CA #CA51BF #CA9951 #51CA5C
split-complementary
#5182CA #CA5C51 #BFCA51
monochromatic
#25487B #3464AA #5182CA #80A4D8 #AFC5E7

Accessibility & contrast

On white

3.89
#5182CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5182CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5182CA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5182CA#FFFFFF#000000##000000
##5182CA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CD
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5182ca;
/* rgb */ color: rgb(81, 130, 202);
/* oklch */ color: oklch(60.5% 0.123 257.9);
Tailwind
colors: {
  custom: {
    50: '#8ca5da',
    500: '#5182ca',
    950: '#000000',
  },
}
SCSS
$custom: #5182ca;
$custom-light: #8ca5da;
$custom-dark: #000000;
JSON
{
  "hex": "#5182ca",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 215.702,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.12254,
    "h": 257.9
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#5182CA
secondary
#D5C0A2
accent
#A24BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5182CA

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

Preview Lab → · Contrast checker → · Palette generator →

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