#5189ED#5189ED

#5189ED is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.0% C 0.162 H 261.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5189ED
RGBrgb(81, 137, 237)
HSLhsl(218, 81%, 62%)
HSVhsv(218, 66%, 93%)
CMYKcmyk(65.8%, 42.2%, 0%, 7.1%)
CIE-LABlab(57.80, 13.07, -55.91)
CIE-LCHlch(57.80, 57.42, 283.16°)
OKLaboklab(64.03% -0.0251 -0.1596)
OKLCHoklch(64.03% 0.162 261.1)
XYZxyz(27.6196, 25.7524, 83.6195)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189ED #EDB551
analogous
#51D7ED #5189ED #6751ED
triadic
#5189ED #ED5189 #89ED51
tetradic
#5189ED #ED51D7 #EDB551 #51ED67
square
#5189ED #ED51D7 #EDB551 #51ED67
split-complementary
#5189ED #ED6751 #D7ED51
monochromatic
#124BB1 #1A63E7 #5189ED #88AFF3 #C0D4F8

Accessibility & contrast

On white

3.41
#5189ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5189ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189ED
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189ED#FFFFFF#000000##000000
##5189ED1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F1
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5189ed;
/* rgb */ color: rgb(81, 137, 237);
/* oklch */ color: oklch(64.0% 0.162 261.1);
Tailwind
colors: {
  custom: {
    50: '#91aaf3',
    500: '#5189ed',
    950: '#000000',
  },
}
SCSS
$custom: #5189ed;
$custom-light: #91aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5189ed",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 237
  },
  "hsl": {
    "h": 218.462,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64034,
    "c": 0.16154,
    "h": 261.1
  },
  "luminance": 0.25755
}

Semantic roles & 50–950 ramp

primary
#5189ED
secondary
#E9D5B0
accent
#9108DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5189ED

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

Preview Lab → · Contrast checker → · Palette generator →

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