#5188DF#5188DF

#5188DF is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.0% C 0.144 H 259.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5188DF
RGBrgb(81, 136, 223)
HSLhsl(217, 69%, 60%)
HSVhsv(217, 64%, 87%)
CMYKcmyk(63.7%, 39%, 0%, 12.5%)
CIE-LABlab(56.77, 8.89, -49.76)
CIE-LCHlch(56.77, 50.55, 280.13°)
OKLaboklab(62.98% -0.027 -0.1416)
OKLCHoklch(62.98% 0.144 259.2)
XYZxyz(25.5120, 24.6829, 73.2175)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188DF #DFA851
analogous
#51CFDF #5188DF #6151DF
triadic
#5188DF #DF5188 #88DF51
tetradic
#5188DF #DF51CF #DFA851 #51DF61
square
#5188DF #DF51CF #DFA851 #51DF61
split-complementary
#5188DF #DF6151 #CFDF51
monochromatic
#1C4D99 #2667CD #5188DF #85ABE9 #B8CFF2

Accessibility & contrast

On white

3.54
#5188DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5188DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188DF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188DF#FFFFFF#000000##000000
##5188DF1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE2
Deuteranopia (green-blind)
#4D82DD
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5188df;
/* rgb */ color: rgb(81, 136, 223);
/* oklch */ color: oklch(63.0% 0.144 259.2);
Tailwind
colors: {
  custom: {
    50: '#8faae9',
    500: '#5188df',
    950: '#000000',
  },
}
SCSS
$custom: #5188df;
$custom-light: #8faae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5188df",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 223
  },
  "hsl": {
    "h": 216.761,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62984,
    "c": 0.14411,
    "h": 259.2
  },
  "luminance": 0.24685
}

Semantic roles & 50–950 ramp

primary
#5188DF
secondary
#E1CCAA
accent
#A83CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5188DF

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

Preview Lab → · Contrast checker → · Palette generator →

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