#5181AF#5181AF

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

Color values

HEX#5181AF
RGBrgb(81, 129, 175)
HSLhsl(209, 37%, 50%)
HSVhsv(209, 54%, 69%)
CMYKcmyk(53.7%, 26.3%, 0%, 31.4%)
CIE-LABlab(52.45, -2.78, -29.31)
CIE-LCHlch(52.45, 29.44, 264.58°)
OKLaboklab(58.85% -0.0323 -0.0821)
OKLCHoklch(58.85% 0.088 248.5)
XYZxyz(18.9787, 20.5435, 43.5143)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5181AF #AF7F51
analogous
#51AFAE #5181AF #5152AF
triadic
#5181AF #AF5181 #81AF51
tetradic
#5181AF #AE51AF #AF7F51 #52AF51
square
#5181AF #AE51AF #AF7F51 #52AF51
split-complementary
#5181AF #AF5152 #AFAE51
monochromatic
#2A435C #3D6285 #5181AF #7B9FC2 #A5BED6

Accessibility & contrast

On white

4.11
#5181AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5181AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5181AF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5181AF#FFFFFF#000000##000000
##5181AF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E82B1
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#198C91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5181af;
/* rgb */ color: rgb(81, 129, 175);
/* oklch */ color: oklch(58.8% 0.088 248.5);
Tailwind
colors: {
  custom: {
    50: '#88a5c7',
    500: '#5181af',
    950: '#000000',
  },
}
SCSS
$custom: #5181af;
$custom-light: #88a5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5181af",
  "rgb": {
    "r": 81,
    "g": 129,
    "b": 175
  },
  "hsl": {
    "h": 209.362,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58847,
    "c": 0.08821,
    "h": 248.5
  },
  "luminance": 0.20545
}

Semantic roles & 50–950 ramp

primary
#5181AF
secondary
#C3AD99
accent
#935BCD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #5181AF

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

Preview Lab → · Contrast checker → · Palette generator →

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