#5188DB#5188DB

#5188DB is a light, vivid blue. Relative luminance 0.245; OKLCH L 62.8% C 0.139 H 258.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5188DB
RGBrgb(81, 136, 219)
HSLhsl(216, 66%, 59%)
HSVhsv(216, 63%, 86%)
CMYKcmyk(63%, 37.9%, 0%, 14.1%)
CIE-LABlab(56.56, 7.53, -47.86)
CIE-LCHlch(56.56, 48.45, 278.94°)
OKLaboklab(62.75% -0.0279 -0.136)
OKLCHoklch(62.75% 0.139 258.4)
XYZxyz(24.9791, 24.4698, 70.4108)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188DB #DBA451
analogous
#51CDDB #5188DB #5F51DB
triadic
#5188DB #DB5188 #88DB51
tetradic
#5188DB #DB51CD #DBA451 #51DB5F
square
#5188DB #DB51CD #DBA451 #51DB5F
split-complementary
#5188DB #DB5F51 #CDDB51
monochromatic
#1E4D93 #2967C6 #5188DB #84ABE5 #B6CDF0

Accessibility & contrast

On white

3.56
#5188DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5188DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188DB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188DB#FFFFFF#000000##000000
##5188DB1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDE
Deuteranopia (green-blind)
#5082D9
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5188db;
/* rgb */ color: rgb(81, 136, 219);
/* oklch */ color: oklch(62.8% 0.139 258.4);
Tailwind
colors: {
  custom: {
    50: '#8eaae6',
    500: '#5188db',
    950: '#000000',
  },
}
SCSS
$custom: #5188db;
$custom-light: #8eaae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5188db",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 219
  },
  "hsl": {
    "h": 216.087,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62753,
    "c": 0.13879,
    "h": 258.4
  },
  "luminance": 0.24472
}

Semantic roles & 50–950 ramp

primary
#5188DB
secondary
#DFC9A9
accent
#A53FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5188DB

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

Preview Lab → · Contrast checker → · Palette generator →

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