#5181C0#5181C0

#5181C0 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.7% C 0.110 H 255.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5181C0
RGBrgb(81, 129, 192)
HSLhsl(214, 47%, 54%)
HSVhsv(214, 58%, 75%)
CMYKcmyk(57.8%, 32.8%, 0%, 24.7%)
CIE-LABlab(53.23, 2.70, -37.84)
CIE-LCHlch(53.23, 37.94, 274.08°)
OKLaboklab(59.72% -0.0272 -0.1068)
OKLCHoklch(59.72% 0.11 255.7)
XYZxyz(20.7547, 21.2538, 52.8676)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5181C0 #C09051
analogous
#51B8C0 #5181C0 #5851C0
triadic
#5181C0 #C05181 #81C051
tetradic
#5181C0 #C051B8 #C09051 #51C058
square
#5181C0 #C051B8 #C09051 #51C058
split-complementary
#5181C0 #C05851 #B8C051
monochromatic
#28476F #38639B #5181C0 #7EA2D0 #ABC2E1

Accessibility & contrast

On white

4.00
#5181C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5181C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5181C0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5181C0#FFFFFF#000000##000000
##5181C01.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6785C3
Deuteranopia (green-blind)
#597ABF
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5181c0;
/* rgb */ color: rgb(81, 129, 192);
/* oklch */ color: oklch(59.7% 0.110 255.7);
Tailwind
colors: {
  custom: {
    50: '#8aa5d3',
    500: '#5181c0',
    950: '#000000',
  },
}
SCSS
$custom: #5181c0;
$custom-light: #8aa5d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5181c0",
  "rgb": {
    "r": 81,
    "g": 129,
    "b": 192
  },
  "hsl": {
    "h": 214.054,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.11021,
    "h": 255.7
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

primary
#5181C0
secondary
#CEBA9F
accent
#9D51D6
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #5181C0

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

Preview Lab → · Contrast checker → · Palette generator →

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