#5184BD#5184BD

#5184BD is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 60.2% C 0.103 H 252.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5184BD
RGBrgb(81, 132, 189)
HSLhsl(212, 45%, 53%)
HSVhsv(212, 57%, 74%)
CMYKcmyk(57.1%, 30.2%, 0%, 25.9%)
CIE-LABlab(53.95, -0.06, -35.00)
CIE-LCHlch(53.95, 35.00, 269.91°)
OKLaboklab(60.23% -0.0314 -0.0985)
OKLCHoklch(60.23% 0.103 252.3)
XYZxyz(20.8266, 21.9242, 51.2685)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184BD #BD8A51
analogous
#51BABD #5184BD #5451BD
triadic
#5184BD #BD5184 #84BD51
tetradic
#5184BD #BD51BA #BD8A51 #51BD54
square
#5184BD #BD51BA #BD8A51 #51BD54
split-complementary
#5184BD #BD5451 #BABD51
monochromatic
#29486B #396697 #5184BD #7DA3CE #AAC3DF

Accessibility & contrast

On white

3.90
#5184BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5184BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184BD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184BD#FFFFFF#000000##000000
##5184BD1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87BF
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#009198
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5184bd;
/* rgb */ color: rgb(81, 132, 189);
/* oklch */ color: oklch(60.2% 0.103 252.3);
Tailwind
colors: {
  custom: {
    50: '#8aa7d1',
    500: '#5184bd',
    950: '#000000',
  },
}
SCSS
$custom: #5184bd;
$custom-light: #8aa7d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5184bd",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 189
  },
  "hsl": {
    "h": 211.667,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60233,
    "c": 0.10342,
    "h": 252.3
  },
  "luminance": 0.21926
}

Semantic roles & 50–950 ramp

primary
#5184BD
secondary
#CCB69E
accent
#9853D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5184BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5184BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva