#5189CF#5189CF

#5189CF is a light, vivid cyan. Relative luminance 0.241; OKLCH L 62.3% C 0.122 H 254.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5189CF
RGBrgb(81, 137, 207)
HSLhsl(213, 57%, 56%)
HSVhsv(213, 61%, 81%)
CMYKcmyk(60.9%, 33.8%, 0%, 18.8%)
CIE-LABlab(56.23, 2.91, -41.62)
CIE-LCHlch(56.23, 41.72, 274.00°)
OKLaboklab(62.3% -0.0319 -0.1177)
OKLCHoklch(62.3% 0.122 254.9)
XYZxyz(23.5975, 24.1435, 62.4360)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189CF #CF9751
analogous
#51C8CF #5189CF #5851CF
triadic
#5189CF #CF5189 #89CF51
tetradic
#5189CF #CF51C8 #CF9751 #51CF58
square
#5189CF #CF51C8 #CF9751 #51CF58
split-complementary
#5189CF #CF5851 #C8CF51
monochromatic
#244E82 #316AB2 #5189CF #81AADC #B1CAE9

Accessibility & contrast

On white

3.60
#5189CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5189CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189CF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189CF#FFFFFF#000000##000000
##5189CF1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5189cf;
/* rgb */ color: rgb(81, 137, 207);
/* oklch */ color: oklch(62.3% 0.122 254.9);
Tailwind
colors: {
  custom: {
    50: '#8cabde',
    500: '#5189cf',
    950: '#000000',
  },
}
SCSS
$custom: #5189cf;
$custom-light: #8cabde;
$custom-dark: #000000;
JSON
{
  "hex": "#5189cf",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 207
  },
  "hsl": {
    "h": 213.333,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62303,
    "c": 0.12199,
    "h": 254.9
  },
  "luminance": 0.24146
}

Semantic roles & 50–950 ramp

primary
#5189CF
secondary
#D8C1A4
accent
#9C48E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5189CF

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

Preview Lab → · Contrast checker → · Palette generator →

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