#5189C8#5189C8

#5189C8 is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.9% C 0.113 H 252.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5189C8
RGBrgb(81, 137, 200)
HSLhsl(212, 52%, 55%)
HSVhsv(212, 60%, 78%)
CMYKcmyk(59.5%, 31.5%, 0%, 21.6%)
CIE-LABlab(55.90, 0.60, -38.19)
CIE-LCHlch(55.90, 38.20, 270.90°)
OKLaboklab(61.93% -0.0338 -0.1078)
OKLCHoklch(61.93% 0.113 252.6)
XYZxyz(22.7606, 23.8087, 58.0285)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189C8 #C89051
analogous
#51C4C8 #5189C8 #5551C8
triadic
#5189C8 #C85189 #89C851
tetradic
#5189C8 #C851C4 #C89051 #51C855
square
#5189C8 #C851C4 #C89051 #51C855
split-complementary
#5189C8 #C85551 #C4C851
monochromatic
#264D79 #356BA7 #5189C8 #80A9D7 #AEC8E5

Accessibility & contrast

On white

3.64
#5189C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5189C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189C8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189C8#FFFFFF#000000##000000
##5189C81.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8CCB
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5189c8;
/* rgb */ color: rgb(81, 137, 200);
/* oklch */ color: oklch(61.9% 0.113 252.6);
Tailwind
colors: {
  custom: {
    50: '#8babd9',
    500: '#5189c8',
    950: '#000000',
  },
}
SCSS
$custom: #5189c8;
$custom-light: #8babd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5189c8",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 200
  },
  "hsl": {
    "h": 211.765,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6193,
    "c": 0.11294,
    "h": 252.6
  },
  "luminance": 0.23811
}

Semantic roles & 50–950 ramp

primary
#5189C8
secondary
#D3BCA1
accent
#984CDB
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5189C8

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

Preview Lab → · Contrast checker → · Palette generator →

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