#5184B2#5184B2

#5184B2 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.7% C 0.090 H 247.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5184B2
RGBrgb(81, 132, 178)
HSLhsl(208, 39%, 51%)
HSVhsv(208, 54%, 70%)
CMYKcmyk(54.5%, 25.8%, 0%, 30.2%)
CIE-LABlab(53.45, -3.58, -29.47)
CIE-LCHlch(53.45, 29.68, 263.07°)
OKLaboklab(59.68% -0.0348 -0.0825)
OKLCHoklch(59.68% 0.09 247.1)
XYZxyz(19.6776, 21.4646, 45.2170)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184B2 #B27F51
analogous
#51B2AF #5184B2 #5153B2
triadic
#5184B2 #B25184 #84B251
tetradic
#5184B2 #AF51B2 #B27F51 #53B251
square
#5184B2 #AF51B2 #B27F51 #53B251
split-complementary
#5184B2 #B25153 #B2AF51
monochromatic
#2A465F #3D6589 #5184B2 #7BA2C5 #A6C0D8

Accessibility & contrast

On white

3.97
#5184B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5184B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184B2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184B2#FFFFFF#000000##000000
##5184B21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7185B4
Deuteranopia (green-blind)
#647BB1
Tritanopia (blue-blind)
#128F94
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5184b2;
/* rgb */ color: rgb(81, 132, 178);
/* oklch */ color: oklch(59.7% 0.090 247.1);
Tailwind
colors: {
  custom: {
    50: '#89a7c9',
    500: '#5184b2',
    950: '#000000',
  },
}
SCSS
$custom: #5184b2;
$custom-light: #89a7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5184b2",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 178
  },
  "hsl": {
    "h": 208.454,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.08959,
    "h": 247.1
  },
  "luminance": 0.21466
}

Semantic roles & 50–950 ramp

primary
#5184B2
secondary
#C5AE9A
accent
#9159CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #5184B2

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

Preview Lab → · Contrast checker → · Palette generator →

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