#5185DE#5185DE

#5185DE is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.3% C 0.146 H 260.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5185DE
RGBrgb(81, 133, 222)
HSLhsl(218, 68%, 59%)
HSVhsv(218, 64%, 87%)
CMYKcmyk(63.5%, 40.1%, 0%, 12.9%)
CIE-LABlab(55.88, 10.35, -50.60)
CIE-LCHlch(55.88, 51.65, 281.56°)
OKLaboklab(62.28% -0.0242 -0.1441)
OKLCHoklch(62.28% 0.146 260.5)
XYZxyz(24.9610, 23.7960, 72.3707)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185DE #DEAA51
analogous
#51CCDE #5185DE #6451DE
triadic
#5185DE #DE5185 #85DE51
tetradic
#5185DE #DE51CC #DEAA51 #51DE64
square
#5185DE #DE51CC #DEAA51 #51DE64
split-complementary
#5185DE #DE6451 #CCDE51
monochromatic
#1D4A98 #2763CB #5185DE #84A9E8 #B8CDF2

Accessibility & contrast

On white

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

On black

5.76
#5185DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185DE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185DE#FFFFFF#000000##000000
##5185DE1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8DE2
Deuteranopia (green-blind)
#4880DC
Tritanopia (blue-blind)
#0099A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5185de;
/* rgb */ color: rgb(81, 133, 222);
/* oklch */ color: oklch(62.3% 0.146 260.5);
Tailwind
colors: {
  custom: {
    50: '#8fa8e9',
    500: '#5185de',
    950: '#000000',
  },
}
SCSS
$custom: #5185de;
$custom-light: #8fa8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5185de",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 222
  },
  "hsl": {
    "h": 217.872,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.14609,
    "h": 260.5
  },
  "luminance": 0.23798
}

Semantic roles & 50–950 ramp

primary
#5185DE
secondary
#E1CDAA
accent
#AB3DEB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5185DE

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

Preview Lab → · Contrast checker → · Palette generator →

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