#5189CB#5189CB

#5189CB is a light, moderate cyan. Relative luminance 0.240; OKLCH L 62.1% C 0.117 H 253.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5189CB
RGBrgb(81, 137, 203)
HSLhsl(212, 54%, 56%)
HSVhsv(212, 60%, 80%)
CMYKcmyk(60.1%, 32.5%, 0%, 20.4%)
CIE-LABlab(56.04, 1.59, -39.67)
CIE-LCHlch(56.04, 39.70, 272.29°)
OKLaboklab(62.09% -0.0329 -0.1121)
OKLCHoklch(62.09% 0.117 253.6)
XYZxyz(23.1146, 23.9504, 59.8931)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189CB #CB9351
analogous
#51C6CB #5189CB #5651CB
triadic
#5189CB #CB5189 #89CB51
tetradic
#5189CB #CB51C6 #CB9351 #51CB56
square
#5189CB #CB51C6 #CB9351 #51CB56
split-complementary
#5189CB #CB5651 #C6CB51
monochromatic
#254D7C #336AAC #5189CB #80A9D9 #AFC9E7

Accessibility & contrast

On white

3.63
#5189CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5189CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189CB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189CB#FFFFFF#000000##000000
##5189CB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCE
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5189cb;
/* rgb */ color: rgb(81, 137, 203);
/* oklch */ color: oklch(62.1% 0.117 253.6);
Tailwind
colors: {
  custom: {
    50: '#8cabdb',
    500: '#5189cb',
    950: '#000000',
  },
}
SCSS
$custom: #5189cb;
$custom-light: #8cabdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5189cb",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 203
  },
  "hsl": {
    "h": 212.459,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62088,
    "c": 0.1168,
    "h": 253.6
  },
  "luminance": 0.23952
}

Semantic roles & 50–950 ramp

primary
#5189CB
secondary
#D5BEA3
accent
#9A4ADD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5189CB

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

Preview Lab → · Contrast checker → · Palette generator →

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