#5189CD#5189CD

#5189CD is a light, moderate cyan. Relative luminance 0.240; OKLCH L 62.2% C 0.119 H 254.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5189CD
RGBrgb(81, 137, 205)
HSLhsl(213, 55%, 56%)
HSVhsv(213, 60%, 80%)
CMYKcmyk(60.5%, 33.2%, 0%, 19.6%)
CIE-LABlab(56.13, 2.25, -40.65)
CIE-LCHlch(56.13, 40.71, 273.16°)
OKLaboklab(62.2% -0.0324 -0.1149)
OKLCHoklch(62.2% 0.119 254.3)
XYZxyz(23.3545, 24.0463, 61.1564)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189CD #CD9551
analogous
#51C7CD #5189CD #5751CD
triadic
#5189CD #CD5189 #89CD51
tetradic
#5189CD #CD51C7 #CD9551 #51CD57
square
#5189CD #CD51C7 #CD9551 #51CD57
split-complementary
#5189CD #CD5751 #C7CD51
monochromatic
#254D7F #326AAF #5189CD #81A9DB #B0C9E8

Accessibility & contrast

On white

3.61
#5189CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5189CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189CD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189CD#FFFFFF#000000##000000
##5189CD1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#5C81CC
Tritanopia (blue-blind)
#0099A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5189cd;
/* rgb */ color: rgb(81, 137, 205);
/* oklch */ color: oklch(62.2% 0.119 254.3);
Tailwind
colors: {
  custom: {
    50: '#8cabdc',
    500: '#5189cd',
    950: '#000000',
  },
}
SCSS
$custom: #5189cd;
$custom-light: #8cabdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5189cd",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 212.903,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62195,
    "c": 0.11939,
    "h": 254.3
  },
  "luminance": 0.24048
}

Semantic roles & 50–950 ramp

primary
#5189CD
secondary
#D7BFA3
accent
#9B49DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5189CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5189CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva