#5188FC#5188FC

#5188FC is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.182 H 263.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5188FC
RGBrgb(81, 136, 252)
HSLhsl(221, 97%, 65%)
HSVhsv(221, 68%, 99%)
CMYKcmyk(67.9%, 46%, 0%, 1.2%)
CIE-LABlab(58.40, 18.85, -63.24)
CIE-LCHlch(58.40, 65.99, 286.59°)
OKLaboklab(64.77% -0.0217 -0.1811)
OKLCHoklch(64.77% 0.182 263.2)
XYZxyz(29.7620, 26.3829, 95.6005)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188FC #FCC551
analogous
#51DDFC #5188FC #7051FC
triadic
#5188FC #FC5188 #88FC51
tetradic
#5188FC #FC51DD #FCC551 #51FC70
square
#5188FC #FC51DD #FCC551 #51FC70
split-complementary
#5188FC #FC7051 #DDFC51
monochromatic
#0445CF #155FFB #5188FC #8DB1FD #C9DAFE

Accessibility & contrast

On white

3.35
#5188FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5188FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188FC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188FC#FFFFFF#000000##000000
##5188FC1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#2785FA
Tritanopia (blue-blind)
#00A3B6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5188fc;
/* rgb */ color: rgb(81, 136, 252);
/* oklch */ color: oklch(64.8% 0.182 263.2);
Tailwind
colors: {
  custom: {
    50: '#93aafe',
    500: '#5188fc',
    950: '#000000',
  },
}
SCSS
$custom: #5188fc;
$custom-light: #93aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#5188fc",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 220.702,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64773,
    "c": 0.18243,
    "h": 263.2
  },
  "luminance": 0.26386
}

Semantic roles & 50–950 ramp

primary
#5188FC
secondary
#F1DFB8
accent
#9C00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86

Preview Lab

Preview with #5188FC

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

Preview Lab → · Contrast checker → · Palette generator →

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