#5185E3#5185E3

#5185E3 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.6% C 0.153 H 261.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5185E3
RGBrgb(81, 133, 227)
HSLhsl(219, 72%, 60%)
HSVhsv(219, 64%, 89%)
CMYKcmyk(64.3%, 41.4%, 0%, 11%)
CIE-LABlab(56.16, 12.06, -52.97)
CIE-LCHlch(56.16, 54.32, 282.82°)
OKLaboklab(62.58% -0.0232 -0.151)
OKLCHoklch(62.58% 0.153 261.3)
XYZxyz(25.6411, 24.0680, 75.9525)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185E3 #E3AF51
analogous
#51CEE3 #5185E3 #6651E3
triadic
#5185E3 #E35185 #85E351
tetradic
#5185E3 #E351CE #E3AF51 #51E366
square
#5185E3 #E351CE #E3AF51 #51E366
split-complementary
#5185E3 #E36651 #CEE351
monochromatic
#1A4AA0 #2262D5 #5185E3 #86AAEB #BACFF4

Accessibility & contrast

On white

3.61
#5185E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5185E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185E3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185E3#FFFFFF#000000##000000
##5185E31.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8EE7
Deuteranopia (green-blind)
#4480E1
Tritanopia (blue-blind)
#009AA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5185e3;
/* rgb */ color: rgb(81, 133, 227);
/* oklch */ color: oklch(62.6% 0.153 261.3);
Tailwind
colors: {
  custom: {
    50: '#8fa8ec',
    500: '#5185e3',
    950: '#000000',
  },
}
SCSS
$custom: #5185e3;
$custom-light: #8fa8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5185e3",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 227
  },
  "hsl": {
    "h": 218.63,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62583,
    "c": 0.15277,
    "h": 261.3
  },
  "luminance": 0.2407
}

Semantic roles & 50–950 ramp

primary
#5185E3
secondary
#E4D0AC
accent
#8F11D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5185E3

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

Preview Lab → · Contrast checker → · Palette generator →

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