#5189EC#5189EC

#5189EC is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.0% C 0.160 H 260.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5189EC
RGBrgb(81, 137, 236)
HSLhsl(218, 80%, 62%)
HSVhsv(218, 66%, 93%)
CMYKcmyk(65.7%, 41.9%, 0%, 7.5%)
CIE-LABlab(57.75, 12.73, -55.44)
CIE-LCHlch(57.75, 56.88, 282.93°)
OKLaboklab(63.97% -0.0253 -0.1582)
OKLCHoklch(63.97% 0.16 260.9)
XYZxyz(27.4739, 25.6941, 82.8522)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189EC #ECB451
analogous
#51D6EC #5189EC #6751EC
triadic
#5189EC #EC5189 #89EC51
tetradic
#5189EC #EC51D6 #ECB451 #51EC67
square
#5189EC #EC51D6 #ECB451 #51EC67
split-complementary
#5189EC #EC6751 #D6EC51
monochromatic
#134CAF #1A64E6 #5189EC #88AEF2 #BFD4F8

Accessibility & contrast

On white

3.42
#5189EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#5189EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189EC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189EC#FFFFFF#000000##000000
##5189EC1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92F0
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5189ec;
/* rgb */ color: rgb(81, 137, 236);
/* oklch */ color: oklch(64.0% 0.160 260.9);
Tailwind
colors: {
  custom: {
    50: '#91aaf3',
    500: '#5189ec',
    950: '#000000',
  },
}
SCSS
$custom: #5189ec;
$custom-light: #91aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5189ec",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 218.323,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63973,
    "c": 0.16022,
    "h": 260.9
  },
  "luminance": 0.25697
}

Semantic roles & 50–950 ramp

primary
#5189EC
secondary
#E9D4B0
accent
#9009DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5189EC

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

Preview Lab → · Contrast checker → · Palette generator →

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