#5182A2#5182A2

#5182A2 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.5% C 0.072 H 238.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5182A2
RGBrgb(81, 130, 162)
HSLhsl(204, 33%, 48%)
HSVhsv(204, 50%, 64%)
CMYKcmyk(50%, 19.8%, 0%, 36.5%)
CIE-LABlab(52.20, -7.39, -22.17)
CIE-LCHlch(52.20, 23.37, 251.57°)
OKLaboklab(58.47% -0.038 -0.0617)
OKLCHoklch(58.47% 0.072 238.4)
XYZxyz(17.8952, 20.3219, 37.1549)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5182A2 #A27151
analogous
#51A299 #5182A2 #5159A2
triadic
#5182A2 #A25182 #82A251
tetradic
#5182A2 #9951A2 #A27151 #59A251
square
#5182A2 #9951A2 #A27151 #59A251
split-complementary
#5182A2 #A25159 #A29951
monochromatic
#284150 #3D6179 #5182A2 #769FBA #9FBCCF

Accessibility & contrast

On white

4.15
#5182A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5182A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5182A2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5182A2#FFFFFF#000000##000000
##5182A21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7481A4
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#288A8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5182a2;
/* rgb */ color: rgb(81, 130, 162);
/* oklch */ color: oklch(58.5% 0.072 238.4);
Tailwind
colors: {
  custom: {
    50: '#87a6bd',
    500: '#5182a2',
    950: '#000000',
  },
}
SCSS
$custom: #5182a2;
$custom-light: #87a6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5182a2",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 162
  },
  "hsl": {
    "h": 203.704,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58473,
    "c": 0.07241,
    "h": 238.4
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#5182A2
secondary
#BCA393
accent
#895EC9
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #5182A2

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

Preview Lab → · Contrast checker → · Palette generator →

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