#5186E3#5186E3

#5186E3 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.8% C 0.152 H 260.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5186E3
RGBrgb(81, 134, 227)
HSLhsl(218, 72%, 60%)
HSVhsv(218, 64%, 89%)
CMYKcmyk(64.3%, 41%, 0%, 11%)
CIE-LABlab(56.43, 11.45, -52.53)
CIE-LCHlch(56.43, 53.77, 282.30°)
OKLaboklab(62.79% -0.0241 -0.1497)
OKLCHoklch(62.79% 0.152 260.8)
XYZxyz(25.7787, 24.3431, 75.9983)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186E3 #E3AE51
analogous
#51CFE3 #5186E3 #6551E3
triadic
#5186E3 #E35186 #86E351
tetradic
#5186E3 #E351CF #E3AE51 #51E365
square
#5186E3 #E351CF #E3AE51 #51E365
split-complementary
#5186E3 #E36551 #CFE351
monochromatic
#1A4AA0 #2263D5 #5186E3 #86ABEB #BACFF4

Accessibility & contrast

On white

3.58
#5186E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5186E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186E3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186E3#FFFFFF#000000##000000
##5186E31.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE7
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5186e3;
/* rgb */ color: rgb(81, 134, 227);
/* oklch */ color: oklch(62.8% 0.152 260.8);
Tailwind
colors: {
  custom: {
    50: '#8fa8ec',
    500: '#5186e3',
    950: '#000000',
  },
}
SCSS
$custom: #5186e3;
$custom-light: #8fa8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5186e3",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 227
  },
  "hsl": {
    "h": 218.219,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62794,
    "c": 0.15164,
    "h": 260.8
  },
  "luminance": 0.24346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5186E3

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

Preview Lab → · Contrast checker → · Palette generator →

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