#5189E6#5189E6

#5189E6 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.6% C 0.152 H 260.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5189E6
RGBrgb(81, 137, 230)
HSLhsl(217, 75%, 61%)
HSVhsv(217, 65%, 90%)
CMYKcmyk(64.8%, 40.4%, 0%, 9.8%)
CIE-LABlab(57.42, 10.67, -52.63)
CIE-LCHlch(57.42, 53.70, 281.46°)
OKLaboklab(63.61% -0.0265 -0.15)
OKLCHoklch(63.61% 0.152 260)
XYZxyz(26.6168, 25.3512, 78.3381)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189E6 #E6AE51
analogous
#51D3E6 #5189E6 #6351E6
triadic
#5189E6 #E65189 #89E651
tetradic
#5189E6 #E651D3 #E6AE51 #51E663
square
#5189E6 #E651D3 #E6AE51 #51E663
split-complementary
#5189E6 #E66351 #D3E651
monochromatic
#184DA5 #1F66DA #5189E6 #87ADEE #BCD2F5

Accessibility & contrast

On white

3.46
#5189E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5189E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189E6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189E6#FFFFFF#000000##000000
##5189E61.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91EA
Deuteranopia (green-blind)
#4883E4
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5189e6;
/* rgb */ color: rgb(81, 137, 230);
/* oklch */ color: oklch(63.6% 0.152 260.0);
Tailwind
colors: {
  custom: {
    50: '#90aaee',
    500: '#5189e6',
    950: '#000000',
  },
}
SCSS
$custom: #5189e6;
$custom-light: #90aaee;
$custom-dark: #000000;
JSON
{
  "hex": "#5189e6",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 230
  },
  "hsl": {
    "h": 217.45,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63611,
    "c": 0.15228,
    "h": 260
  },
  "luminance": 0.25354
}

Semantic roles & 50–950 ramp

primary
#5189E6
secondary
#E5D0AD
accent
#8C0ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5189E6

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

Preview Lab → · Contrast checker → · Palette generator →

#5189E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva