#5185DD#5185DD

#5185DD is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.2% C 0.145 H 260.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5185DD
RGBrgb(81, 133, 221)
HSLhsl(218, 67%, 59%)
HSVhsv(218, 63%, 87%)
CMYKcmyk(63.3%, 39.8%, 0%, 13.3%)
CIE-LABlab(55.83, 10.01, -50.13)
CIE-LCHlch(55.83, 51.12, 281.29°)
OKLaboklab(62.22% -0.0244 -0.1427)
OKLCHoklch(62.22% 0.145 260.3)
XYZxyz(24.8274, 23.7425, 71.6670)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185DD #DDA951
analogous
#51CBDD #5185DD #6351DD
triadic
#5185DD #DD5185 #85DD51
tetradic
#5185DD #DD51CB #DDA951 #51DD63
square
#5185DD #DD51CB #DDA951 #51DD63
split-complementary
#5185DD #DD6351 #CBDD51
monochromatic
#1D4A96 #2764C9 #5185DD #84A9E7 #B7CDF1

Accessibility & contrast

On white

3.65
#5185DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5185DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185DD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185DD#FFFFFF#000000##000000
##5185DD1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8DE0
Deuteranopia (green-blind)
#4980DB
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5185dd;
/* rgb */ color: rgb(81, 133, 221);
/* oklch */ color: oklch(62.2% 0.145 260.3);
Tailwind
colors: {
  custom: {
    50: '#8ea8e8',
    500: '#5185dd',
    950: '#000000',
  },
}
SCSS
$custom: #5185dd;
$custom-light: #8ea8e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5185dd",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 221
  },
  "hsl": {
    "h": 217.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62224,
    "c": 0.14474,
    "h": 260.3
  },
  "luminance": 0.23745
}

Semantic roles & 50–950 ramp

primary
#5185DD
secondary
#E0CCAA
accent
#AA3EEA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5185DD

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

Preview Lab → · Contrast checker → · Palette generator →

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