#5188F0#5188F0

#5188F0 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.0% C 0.167 H 261.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5188F0
RGBrgb(81, 136, 240)
HSLhsl(219, 84%, 63%)
HSVhsv(219, 66%, 94%)
CMYKcmyk(66.3%, 43.3%, 0%, 5.9%)
CIE-LABlab(57.70, 14.70, -57.73)
CIE-LCHlch(57.70, 59.58, 284.29°)
OKLaboklab(64.01% -0.0236 -0.165)
OKLCHoklch(64.01% 0.167 261.8)
XYZxyz(27.9201, 25.6462, 85.9000)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188F0 #F0B951
analogous
#51D8F0 #5188F0 #6951F0
triadic
#5188F0 #F05188 #88F051
tetradic
#5188F0 #F051D8 #F0B951 #51F069
square
#5188F0 #F051D8 #F0B951 #51F069
split-complementary
#5188F0 #F06951 #D8F051
monochromatic
#104AB7 #1961EB #5188F0 #89AFF5 #C2D5FA

Accessibility & contrast

On white

3.43
#5188F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5188F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188F0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188F0#FFFFFF#000000##000000
##5188F01.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F4
Deuteranopia (green-blind)
#3B84EE
Tritanopia (blue-blind)
#00A0B0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5188f0;
/* rgb */ color: rgb(81, 136, 240);
/* oklch */ color: oklch(64.0% 0.167 261.8);
Tailwind
colors: {
  custom: {
    50: '#91aaf5',
    500: '#5188f0',
    950: '#000000',
  },
}
SCSS
$custom: #5188f0;
$custom-light: #91aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5188f0",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 240
  },
  "hsl": {
    "h": 219.245,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6401,
    "c": 0.16663,
    "h": 261.8
  },
  "luminance": 0.25649
}

Semantic roles & 50–950 ramp

primary
#5188F0
secondary
#EBD7B2
accent
#9505E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5188F0

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

Preview Lab → · Contrast checker → · Palette generator →

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