#5180B2#5180B2

#5180B2 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.8% C 0.093 H 251.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5180B2
RGBrgb(81, 128, 178)
HSLhsl(211, 39%, 51%)
HSVhsv(211, 54%, 70%)
CMYKcmyk(54.5%, 28.1%, 0%, 30.2%)
CIE-LABlab(52.29, -1.24, -31.28)
CIE-LCHlch(52.29, 31.31, 267.73°)
OKLaboklab(58.77% -0.0301 -0.0878)
OKLCHoklch(58.77% 0.093 251.1)
XYZxyz(19.1456, 20.4005, 45.0396)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5180B2 #B28351
analogous
#51B0B2 #5180B2 #5251B2
triadic
#5180B2 #B25180 #80B251
tetradic
#5180B2 #B251B0 #B28351 #51B252
square
#5180B2 #B251B0 #B28351 #51B252
split-complementary
#5180B2 #B25251 #B0B251
monochromatic
#2A435F #3D6289 #5180B2 #7B9FC5 #A6BED8

Accessibility & contrast

On white

4.13
#5180B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5180B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5180B2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5180B2#FFFFFF#000000##000000
##5180B21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C82B4
Deuteranopia (green-blind)
#5F78B1
Tritanopia (blue-blind)
#148B91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5180b2;
/* rgb */ color: rgb(81, 128, 178);
/* oklch */ color: oklch(58.8% 0.093 251.1);
Tailwind
colors: {
  custom: {
    50: '#88a4c9',
    500: '#5180b2',
    950: '#000000',
  },
}
SCSS
$custom: #5180b2;
$custom-light: #88a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5180b2",
  "rgb": {
    "r": 81,
    "g": 128,
    "b": 178
  },
  "hsl": {
    "h": 210.928,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58766,
    "c": 0.09283,
    "h": 251.1
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#5180B2
secondary
#C5B09A
accent
#9659CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #5180B2

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

Preview Lab → · Contrast checker → · Palette generator →

#5180B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva