#5185CA#5185CA

#5185CA is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 61.1% C 0.119 H 256.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5185CA
RGBrgb(81, 133, 202)
HSLhsl(214, 53%, 55%)
HSVhsv(214, 60%, 79%)
CMYKcmyk(59.9%, 34.2%, 0%, 20.8%)
CIE-LABlab(54.85, 3.62, -40.97)
CIE-LCHlch(54.85, 41.13, 275.05°)
OKLaboklab(61.15% -0.0289 -0.1159)
OKLCHoklch(61.15% 0.119 256)
XYZxyz(22.4377, 22.7867, 59.0815)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185CA #CA9651
analogous
#51C1CA #5185CA #5951CA
triadic
#5185CA #CA5185 #85CA51
tetradic
#5185CA #CA51C1 #CA9651 #51CA59
square
#5185CA #CA51C1 #CA9651 #51CA59
split-complementary
#5185CA #CA5951 #C1CA51
monochromatic
#254A7B #3467AA #5185CA #80A6D8 #AFC7E7

Accessibility & contrast

On white

3.78
#5185CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5185CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185CA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185CA#FFFFFF#000000##000000
##5185CA1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACD
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#00959E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5185ca;
/* rgb */ color: rgb(81, 133, 202);
/* oklch */ color: oklch(61.1% 0.119 256.0);
Tailwind
colors: {
  custom: {
    50: '#8ca8da',
    500: '#5185ca',
    950: '#000000',
  },
}
SCSS
$custom: #5185ca;
$custom-light: #8ca8da;
$custom-dark: #000000;
JSON
{
  "hex": "#5185ca",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 202
  },
  "hsl": {
    "h": 214.215,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.11944,
    "h": 256
  },
  "luminance": 0.22789
}

Semantic roles & 50–950 ramp

primary
#5185CA
secondary
#D5BFA2
accent
#9E4BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5185CA

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

Preview Lab → · Contrast checker → · Palette generator →

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