#5188FE#5188FE

#5188FE is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.9% C 0.185 H 263.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5188FE
RGBrgb(81, 136, 254)
HSLhsl(221, 99%, 66%)
HSVhsv(221, 68%, 100%)
CMYKcmyk(68.1%, 46.5%, 0%, 0.4%)
CIE-LABlab(58.52, 19.54, -64.15)
CIE-LCHlch(58.52, 67.06, 286.94°)
OKLaboklab(64.9% -0.0214 -0.1838)
OKLCHoklch(64.9% 0.185 263.4)
XYZxyz(30.0806, 26.5104, 97.2784)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188FE #FEC751
analogous
#51DEFE #5188FE #7051FE
triadic
#5188FE #FE5188 #88FE51
tetradic
#5188FE #FE51DE #FEC751 #51FE70
square
#5188FE #FE51DE #FEC751 #51FE70
split-complementary
#5188FE #FE7051 #DEFE51
monochromatic
#0144D3 #145EFE #5188FE #8EB2FE #CBDBFF

Accessibility & contrast

On white

3.33
#5188FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5188FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188FE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188FE#FFFFFF#000000##000000
##5188FE1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#2285FC
Tritanopia (blue-blind)
#00A4B7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5188fe;
/* rgb */ color: rgb(81, 136, 254);
/* oklch */ color: oklch(64.9% 0.185 263.4);
Tailwind
colors: {
  custom: {
    50: '#94aaff',
    500: '#5188fe',
    950: '#000000',
  },
}
SCSS
$custom: #5188fe;
$custom-light: #94aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#5188fe",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 220.925,
    "s": 98.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64903,
    "c": 0.18505,
    "h": 263.4
  },
  "luminance": 0.26513
}

Semantic roles & 50–950 ramp

primary
#5188FE
secondary
#F2E0B9
accent
#9D00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86

Preview Lab

Preview with #5188FE

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

Preview Lab → · Contrast checker → · Palette generator →

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