#5182BF#5182BF

#5182BF is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.9% C 0.108 H 254.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5182BF
RGBrgb(81, 130, 191)
HSLhsl(213, 46%, 53%)
HSVhsv(213, 58%, 75%)
CMYKcmyk(57.6%, 31.9%, 0%, 25.1%)
CIE-LABlab(53.46, 1.78, -36.89)
CIE-LCHlch(53.46, 36.94, 272.76°)
OKLaboklab(59.89% -0.0286 -0.104)
OKLCHoklch(59.89% 0.108 254.6)
XYZxyz(20.7766, 21.4744, 52.3302)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5182BF #BF8E51
analogous
#51B9BF #5182BF #5751BF
triadic
#5182BF #BF5182 #82BF51
tetradic
#5182BF #BF51B9 #BF8E51 #51BF57
square
#5182BF #BF51B9 #BF8E51 #51BF57
split-complementary
#5182BF #BF5751 #B9BF51
monochromatic
#28476D #39649A #5182BF #7EA2CF #AAC2E0

Accessibility & contrast

On white

3.97
#5182BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5182BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5182BF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5182BF#FFFFFF#000000##000000
##5182BF1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6986C2
Deuteranopia (green-blind)
#5B7BBE
Tritanopia (blue-blind)
#009098
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5182bf;
/* rgb */ color: rgb(81, 130, 191);
/* oklch */ color: oklch(59.9% 0.108 254.6);
Tailwind
colors: {
  custom: {
    50: '#8aa6d2',
    500: '#5182bf',
    950: '#000000',
  },
}
SCSS
$custom: #5182bf;
$custom-light: #8aa6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5182bf",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 191
  },
  "hsl": {
    "h": 213.273,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59887,
    "c": 0.1079,
    "h": 254.6
  },
  "luminance": 0.21476
}

Semantic roles & 50–950 ramp

primary
#5182BF
secondary
#CEB89E
accent
#9B52D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5182BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5182BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva