#5182BD#5182BD

#5182BD is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.8% C 0.105 H 253.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5182BD
RGBrgb(81, 130, 189)
HSLhsl(213, 45%, 53%)
HSVhsv(213, 57%, 74%)
CMYKcmyk(57.1%, 31.2%, 0%, 25.9%)
CIE-LABlab(53.37, 1.13, -35.90)
CIE-LCHlch(53.37, 35.92, 271.79°)
OKLaboklab(59.78% -0.0291 -0.1012)
OKLCHoklch(59.78% 0.105 253.9)
XYZxyz(20.5580, 21.3870, 51.1790)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5182BD #BD8C51
analogous
#51B8BD #5182BD #5651BD
triadic
#5182BD #BD5182 #82BD51
tetradic
#5182BD #BD51B8 #BD8C51 #51BD56
square
#5182BD #BD51B8 #BD8C51 #51BD56
split-complementary
#5182BD #BD5651 #B8BD51
monochromatic
#29476B #396497 #5182BD #7DA2CE #AAC2DF

Accessibility & contrast

On white

3.98
#5182BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5182BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5182BD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5182BD#FFFFFF#000000##000000
##5182BD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85C0
Deuteranopia (green-blind)
#5C7BBC
Tritanopia (blue-blind)
#008F97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5182bd;
/* rgb */ color: rgb(81, 130, 189);
/* oklch */ color: oklch(59.8% 0.105 253.9);
Tailwind
colors: {
  custom: {
    50: '#8aa6d1',
    500: '#5182bd',
    950: '#000000',
  },
}
SCSS
$custom: #5182bd;
$custom-light: #8aa6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5182bd",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 189
  },
  "hsl": {
    "h": 212.778,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.10527,
    "h": 253.9
  },
  "luminance": 0.21389
}

Semantic roles & 50–950 ramp

primary
#5182BD
secondary
#CCB79E
accent
#9A53D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5182BD

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

Preview Lab → · Contrast checker → · Palette generator →

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