#5189E5#5189E5

#5189E5 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.6% C 0.151 H 259.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5189E5
RGBrgb(81, 137, 229)
HSLhsl(217, 74%, 61%)
HSVhsv(217, 65%, 90%)
CMYKcmyk(64.6%, 40.2%, 0%, 10.2%)
CIE-LABlab(57.36, 10.33, -52.16)
CIE-LCHlch(57.36, 53.18, 281.20°)
OKLaboklab(63.55% -0.0267 -0.1486)
OKLCHoklch(63.55% 0.151 259.8)
XYZxyz(26.4768, 25.2952, 77.6007)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189E5 #E5AD51
analogous
#51D3E5 #5189E5 #6351E5
triadic
#5189E5 #E55189 #89E551
tetradic
#5189E5 #E551D3 #E5AD51 #51E563
square
#5189E5 #E551D3 #E5AD51 #51E563
split-complementary
#5189E5 #E56351 #D3E551
monochromatic
#184DA3 #2066D8 #5189E5 #86ADED #BBD1F5

Accessibility & contrast

On white

3.47
#5189E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5189E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189E5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189E5#FFFFFF#000000##000000
##5189E51.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91E9
Deuteranopia (green-blind)
#4983E3
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5189e5;
/* rgb */ color: rgb(81, 137, 229);
/* oklch */ color: oklch(63.6% 0.151 259.8);
Tailwind
colors: {
  custom: {
    50: '#90aaee',
    500: '#5189e5',
    950: '#000000',
  },
}
SCSS
$custom: #5189e5;
$custom-light: #90aaee;
$custom-dark: #000000;
JSON
{
  "hex": "#5189e5",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 229
  },
  "hsl": {
    "h": 217.297,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63551,
    "c": 0.15096,
    "h": 259.8
  },
  "luminance": 0.25298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5189E5

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

Preview Lab → · Contrast checker → · Palette generator →

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