#5185CE#5185CE

#5185CE is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.4% C 0.125 H 257.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5185CE
RGBrgb(81, 133, 206)
HSLhsl(215, 56%, 56%)
HSVhsv(215, 61%, 81%)
CMYKcmyk(60.7%, 35.4%, 0%, 19.2%)
CIE-LABlab(55.05, 4.95, -42.92)
CIE-LCHlch(55.05, 43.20, 276.58°)
OKLaboklab(61.37% -0.0279 -0.1216)
OKLCHoklch(61.37% 0.125 257.1)
XYZxyz(22.9175, 22.9786, 61.6081)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185CE #CE9A51
analogous
#51C4CE #5185CE #5C51CE
triadic
#5185CE #CE5185 #85CE51
tetradic
#5185CE #CE51C4 #CE9A51 #51CE5C
square
#5185CE #CE51C4 #CE9A51 #51CE5C
split-complementary
#5185CE #CE5C51 #C4CE51
monochromatic
#244B80 #3266B0 #5185CE #81A6DB #B1C8E9

Accessibility & contrast

On white

3.75
#5185CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5185CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185CE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185CE#FFFFFF#000000##000000
##5185CE1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD1
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5185ce;
/* rgb */ color: rgb(81, 133, 206);
/* oklch */ color: oklch(61.4% 0.125 257.1);
Tailwind
colors: {
  custom: {
    50: '#8ca8dd',
    500: '#5185ce',
    950: '#000000',
  },
}
SCSS
$custom: #5185ce;
$custom-light: #8ca8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5185ce",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 206
  },
  "hsl": {
    "h": 215.04,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61365,
    "c": 0.12473,
    "h": 257.1
  },
  "luminance": 0.22981
}

Semantic roles & 50–950 ramp

primary
#5185CE
secondary
#D7C2A4
accent
#A148DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5185CE

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

Preview Lab → · Contrast checker → · Palette generator →

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