#5185D3#5185D3

#5185D3 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.6% C 0.131 H 258.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5185D3
RGBrgb(81, 133, 211)
HSLhsl(216, 60%, 57%)
HSVhsv(216, 62%, 83%)
CMYKcmyk(61.6%, 37%, 0%, 17.3%)
CIE-LABlab(55.30, 6.63, -45.34)
CIE-LCHlch(55.30, 45.82, 278.32°)
OKLaboklab(61.65% -0.0266 -0.1286)
OKLCHoklch(61.65% 0.131 258.3)
XYZxyz(23.5346, 23.2254, 64.8581)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185D3 #D39F51
analogous
#51C6D3 #5185D3 #5E51D3
triadic
#5185D3 #D35185 #85D351
tetradic
#5185D3 #D351C6 #D39F51 #51D35E
square
#5185D3 #D351C6 #D39F51 #51D35E
split-complementary
#5185D3 #D35E51 #C6D351
monochromatic
#224B87 #2F66B8 #5185D3 #82A7DF #B3C9EC

Accessibility & contrast

On white

3.72
#5185D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5185D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185D3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185D3#FFFFFF#000000##000000
##5185D31.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)
#638BD6
Deuteranopia (green-blind)
#527FD1
Tritanopia (blue-blind)
#0097A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5185d3;
/* rgb */ color: rgb(81, 133, 211);
/* oklch */ color: oklch(61.6% 0.131 258.3);
Tailwind
colors: {
  custom: {
    50: '#8da8e1',
    500: '#5185d3',
    950: '#000000',
  },
}
SCSS
$custom: #5185d3;
$custom-light: #8da8e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5185d3",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 211
  },
  "hsl": {
    "h": 216,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61645,
    "c": 0.13138,
    "h": 258.3
  },
  "luminance": 0.23228
}

Semantic roles & 50–950 ramp

primary
#5185D3
secondary
#DAC5A6
accent
#A445E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5185D3

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

Preview Lab → · Contrast checker → · Palette generator →

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