#5189BB#5189BB

#5189BB is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 61.3% C 0.097 H 247.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5189BB
RGBrgb(81, 137, 187)
HSLhsl(208, 44%, 53%)
HSVhsv(208, 57%, 73%)
CMYKcmyk(56.7%, 26.7%, 0%, 26.7%)
CIE-LABlab(55.31, -3.62, -31.73)
CIE-LCHlch(55.31, 31.94, 263.49°)
OKLaboklab(61.27% -0.0377 -0.0891)
OKLCHoklch(61.27% 0.097 247.1)
XYZxyz(21.3054, 23.2267, 50.3645)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189BB #BB8351
analogous
#51BBB8 #5189BB #5154BB
triadic
#5189BB #BB5189 #89BB51
tetradic
#5189BB #B851BB #BB8351 #54BB51
square
#5189BB #B851BB #BB8351 #54BB51
split-complementary
#5189BB #BB5154 #BBB851
monochromatic
#294B69 #3A6A95 #5189BB #7DA7CC #A9C5DD

Accessibility & contrast

On white

3.72
#5189BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5189BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189BB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189BB#FFFFFF#000000##000000
##5189BB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#748ABD
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#00959A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5189bb;
/* rgb */ color: rgb(81, 137, 187);
/* oklch */ color: oklch(61.3% 0.097 247.1);
Tailwind
colors: {
  custom: {
    50: '#8aabcf',
    500: '#5189bb',
    950: '#000000',
  },
}
SCSS
$custom: #5189bb;
$custom-light: #8aabcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5189bb",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 187
  },
  "hsl": {
    "h": 208.302,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61272,
    "c": 0.09671,
    "h": 247.1
  },
  "luminance": 0.23229
}

Semantic roles & 50–950 ramp

primary
#5189BB
secondary
#CBB39D
accent
#9054D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C1014
muted
#7D7F82

Preview Lab

Preview with #5189BB

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

Preview Lab → · Contrast checker → · Palette generator →

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