#5185E6#5185E6

#5185E6 is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.8% C 0.157 H 261.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5185E6
RGBrgb(81, 133, 230)
HSLhsl(219, 75%, 61%)
HSVhsv(219, 65%, 90%)
CMYKcmyk(64.8%, 42.2%, 0%, 9.8%)
CIE-LABlab(56.32, 13.08, -54.38)
CIE-LCHlch(56.32, 55.93, 283.53°)
OKLaboklab(62.77% -0.0226 -0.1551)
OKLCHoklch(62.77% 0.157 261.7)
XYZxyz(26.0588, 24.2351, 78.1521)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185E6 #E6B251
analogous
#51D0E6 #5185E6 #6751E6
triadic
#5185E6 #E65185 #85E651
tetradic
#5185E6 #E651D0 #E6B251 #51E667
square
#5185E6 #E651D0 #E6B251 #51E667
split-complementary
#5185E6 #E66751 #D0E651
monochromatic
#1849A5 #1F61DA #5185E6 #87ABEE #BCD0F5

Accessibility & contrast

On white

3.59
#5185E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5185E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185E6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185E6#FFFFFF#000000##000000
##5185E61.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#588EEA
Deuteranopia (green-blind)
#4081E4
Tritanopia (blue-blind)
#009BAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5185e6;
/* rgb */ color: rgb(81, 133, 230);
/* oklch */ color: oklch(62.8% 0.157 261.7);
Tailwind
colors: {
  custom: {
    50: '#90a8ee',
    500: '#5185e6',
    950: '#000000',
  },
}
SCSS
$custom: #5185e6;
$custom-light: #90a8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5185e6",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 230
  },
  "hsl": {
    "h": 219.06,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62765,
    "c": 0.15677,
    "h": 261.7
  },
  "luminance": 0.24238
}

Semantic roles & 50–950 ramp

primary
#5185E6
secondary
#E5D2AD
accent
#910ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5185E6

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

Preview Lab → · Contrast checker → · Palette generator →

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