#5189E7#5189E7

#5189E7 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.7% C 0.154 H 260.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5189E7
RGBrgb(81, 137, 231)
HSLhsl(218, 76%, 61%)
HSVhsv(218, 65%, 91%)
CMYKcmyk(64.9%, 40.7%, 0%, 9.4%)
CIE-LABlab(57.47, 11.01, -53.10)
CIE-LCHlch(57.47, 54.23, 281.72°)
OKLaboklab(63.67% -0.0263 -0.1513)
OKLCHoklch(63.67% 0.154 260.2)
XYZxyz(26.7577, 25.4076, 79.0798)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189E7 #E7AF51
analogous
#51D4E7 #5189E7 #6451E7
triadic
#5189E7 #E75189 #89E751
tetradic
#5189E7 #E751D4 #E7AF51 #51E764
square
#5189E7 #E751D4 #E7AF51 #51E764
split-complementary
#5189E7 #E76451 #D4E751
monochromatic
#174DA7 #1E65DC #5189E7 #87ADEE #BDD2F6

Accessibility & contrast

On white

3.45
#5189E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#5189E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189E7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189E7#FFFFFF#000000##000000
##5189E71.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E92EB
Deuteranopia (green-blind)
#4784E5
Tritanopia (blue-blind)
#009FAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5189e7;
/* rgb */ color: rgb(81, 137, 231);
/* oklch */ color: oklch(63.7% 0.154 260.2);
Tailwind
colors: {
  custom: {
    50: '#90aaef',
    500: '#5189e7',
    950: '#000000',
  },
}
SCSS
$custom: #5189e7;
$custom-light: #90aaef;
$custom-dark: #000000;
JSON
{
  "hex": "#5189e7",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 231
  },
  "hsl": {
    "h": 217.6,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63671,
    "c": 0.1536,
    "h": 260.2
  },
  "luminance": 0.2541
}

Semantic roles & 50–950 ramp

primary
#5189E7
secondary
#E6D1AE
accent
#8C0ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5189E7

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

Preview Lab → · Contrast checker → · Palette generator →

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