#5181AE#5181AE

#5181AE is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.8% C 0.087 H 248.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5181AE
RGBrgb(81, 129, 174)
HSLhsl(209, 36%, 50%)
HSVhsv(209, 53%, 68%)
CMYKcmyk(53.4%, 25.9%, 0%, 31.8%)
CIE-LABlab(52.40, -3.10, -28.80)
CIE-LCHlch(52.40, 28.96, 263.86°)
OKLaboklab(58.8% -0.0326 -0.0806)
OKLCHoklch(58.8% 0.087 248)
XYZxyz(18.8809, 20.5043, 42.9990)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5181AE #AE7E51
analogous
#51AEAD #5181AE #5152AE
triadic
#5181AE #AE5181 #81AE51
tetradic
#5181AE #AD51AE #AE7E51 #52AE51
square
#5181AE #AD51AE #AE7E51 #52AE51
split-complementary
#5181AE #AE5152 #AEAD51
monochromatic
#2A435A #3E6284 #5181AE #7B9FC1 #A5BDD5

Accessibility & contrast

On white

4.12
#5181AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5181AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5181AE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5181AE#FFFFFF#000000##000000
##5181AE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E82B0
Deuteranopia (green-blind)
#6279AD
Tritanopia (blue-blind)
#1B8C90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5181ae;
/* rgb */ color: rgb(81, 129, 174);
/* oklch */ color: oklch(58.8% 0.087 248.0);
Tailwind
colors: {
  custom: {
    50: '#88a5c6',
    500: '#5181ae',
    950: '#000000',
  },
}
SCSS
$custom: #5181ae;
$custom-light: #88a5c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5181ae",
  "rgb": {
    "r": 81,
    "g": 129,
    "b": 174
  },
  "hsl": {
    "h": 209.032,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.58799,
    "c": 0.08697,
    "h": 248
  },
  "luminance": 0.20506
}

Semantic roles & 50–950 ramp

primary
#5181AE
secondary
#C2AD99
accent
#925BCC
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #5181AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5181AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva