#5189F2#5189F2

#5189F2 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.3% C 0.168 H 261.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5189F2
RGBrgb(81, 137, 242)
HSLhsl(219, 86%, 63%)
HSVhsv(219, 67%, 95%)
CMYKcmyk(66.5%, 43.4%, 0%, 5.1%)
CIE-LABlab(58.08, 14.79, -58.23)
CIE-LCHlch(58.08, 60.08, 284.25°)
OKLaboklab(64.34% -0.0242 -0.1664)
OKLCHoklch(64.34% 0.168 261.7)
XYZxyz(28.3603, 26.0486, 87.5205)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5189F2 #F2BA51
analogous
#51DAF2 #5189F2 #6951F2
triadic
#5189F2 #F25189 #89F251
tetradic
#5189F2 #F251DA #F2BA51 #51F269
square
#5189F2 #F251DA #F2BA51 #51F269
split-complementary
#5189F2 #F26951 #DAF251
monochromatic
#0E4ABB #1862EE #5189F2 #8AB0F6 #C3D6FB

Accessibility & contrast

On white

3.38
#5189F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5189F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5189F2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5189F2#FFFFFF#000000##000000
##5189F21.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F6
Deuteranopia (green-blind)
#3B85F0
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5189f2;
/* rgb */ color: rgb(81, 137, 242);
/* oklch */ color: oklch(64.3% 0.168 261.7);
Tailwind
colors: {
  custom: {
    50: '#92aaf7',
    500: '#5189f2',
    950: '#000000',
  },
}
SCSS
$custom: #5189f2;
$custom-light: #92aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5189f2",
  "rgb": {
    "r": 81,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 219.13,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.16814,
    "h": 261.7
  },
  "luminance": 0.26051
}

Semantic roles & 50–950 ramp

primary
#5189F2
secondary
#ECD8B3
accent
#9503E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5189F2

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

Preview Lab → · Contrast checker → · Palette generator →

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