#5185C9#5185C9

#5185C9 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 61.1% C 0.118 H 255.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5185C9
RGBrgb(81, 133, 201)
HSLhsl(214, 53%, 55%)
HSVhsv(214, 60%, 79%)
CMYKcmyk(59.7%, 33.8%, 0%, 21.2%)
CIE-LABlab(54.80, 3.29, -40.48)
CIE-LCHlch(54.80, 40.61, 274.65°)
OKLaboklab(61.09% -0.0291 -0.1145)
OKLCHoklch(61.09% 0.118 255.7)
XYZxyz(22.3197, 22.7395, 58.4600)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185C9 #C99551
analogous
#51C1C9 #5185C9 #5951C9
triadic
#5185C9 #C95185 #85C951
tetradic
#5185C9 #C951C1 #C99551 #51C959
square
#5185C9 #C951C1 #C99551 #51C959
split-complementary
#5185C9 #C95951 #C1C951
monochromatic
#264A7A #3467A9 #5185C9 #80A6D7 #AEC6E6

Accessibility & contrast

On white

3.79
#5185C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5185C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185C9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185C9#FFFFFF#000000##000000
##5185C91.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6889CC
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#00949E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5185c9;
/* rgb */ color: rgb(81, 133, 201);
/* oklch */ color: oklch(61.1% 0.118 255.7);
Tailwind
colors: {
  custom: {
    50: '#8ba8da',
    500: '#5185c9',
    950: '#000000',
  },
}
SCSS
$custom: #5185c9;
$custom-light: #8ba8da;
$custom-dark: #000000;
JSON
{
  "hex": "#5185c9",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 201
  },
  "hsl": {
    "h": 214,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61091,
    "c": 0.11811,
    "h": 255.7
  },
  "luminance": 0.22741
}

Semantic roles & 50–950 ramp

primary
#5185C9
secondary
#D4BEA2
accent
#9E4CDC
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5185C9

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

Preview Lab → · Contrast checker → · Palette generator →

#5185C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva