#5186DB#5186DB

#5186DB is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.3% C 0.141 H 259.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5186DB
RGBrgb(81, 134, 219)
HSLhsl(217, 66%, 59%)
HSVhsv(217, 63%, 86%)
CMYKcmyk(63%, 38.8%, 0%, 14.1%)
CIE-LABlab(56.00, 8.73, -48.74)
CIE-LCHlch(56.00, 49.51, 280.16°)
OKLaboklab(62.32% -0.0258 -0.1386)
OKLCHoklch(62.32% 0.141 259.4)
XYZxyz(24.7001, 23.9117, 70.3178)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186DB #DBA651
analogous
#51CBDB #5186DB #6151DB
triadic
#5186DB #DB5186 #86DB51
tetradic
#5186DB #DB51CB #DBA651 #51DB61
square
#5186DB #DB51CB #DBA651 #51DB61
split-complementary
#5186DB #DB6151 #CBDB51
monochromatic
#1E4B93 #2965C6 #5186DB #84A9E5 #B6CDF0

Accessibility & contrast

On white

3.63
#5186DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5186DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186DB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186DB#FFFFFF#000000##000000
##5186DB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDE
Deuteranopia (green-blind)
#4D80D9
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5186db;
/* rgb */ color: rgb(81, 134, 219);
/* oklch */ color: oklch(62.3% 0.141 259.4);
Tailwind
colors: {
  custom: {
    50: '#8ea8e6',
    500: '#5186db',
    950: '#000000',
  },
}
SCSS
$custom: #5186db;
$custom-light: #8ea8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5186db",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 219
  },
  "hsl": {
    "h": 216.957,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62321,
    "c": 0.14097,
    "h": 259.4
  },
  "luminance": 0.23914
}

Semantic roles & 50–950 ramp

primary
#5186DB
secondary
#DFCAA9
accent
#A83FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5186DB

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

Preview Lab → · Contrast checker → · Palette generator →

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