#5185E9#5185E9

#5185E9 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.9% C 0.161 H 262.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5185E9
RGBrgb(81, 133, 233)
HSLhsl(219, 78%, 62%)
HSVhsv(219, 65%, 91%)
CMYKcmyk(65.2%, 42.9%, 0%, 8.6%)
CIE-LABlab(56.49, 14.11, -55.78)
CIE-LCHlch(56.49, 57.54, 284.20°)
OKLaboklab(62.95% -0.022 -0.1592)
OKLCHoklch(62.95% 0.161 262.1)
XYZxyz(26.4837, 24.4050, 80.3899)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185E9 #E9B551
analogous
#51D1E9 #5185E9 #6951E9
triadic
#5185E9 #E95185 #85E951
tetradic
#5185E9 #E951D1 #E9B551 #51E969
square
#5185E9 #E951D1 #E9B551 #51E969
split-complementary
#5185E9 #E96951 #D1E951
monochromatic
#1648AA #1C5FE0 #5185E9 #87ABF0 #BED1F7

Accessibility & contrast

On white

3.57
#5185E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5185E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185E9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185E9#FFFFFF#000000##000000
##5185E91.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#568FED
Deuteranopia (green-blind)
#3D81E7
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5185e9;
/* rgb */ color: rgb(81, 133, 233);
/* oklch */ color: oklch(62.9% 0.161 262.1);
Tailwind
colors: {
  custom: {
    50: '#90a8f0',
    500: '#5185e9',
    950: '#000000',
  },
}
SCSS
$custom: #5185e9;
$custom-light: #90a8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5185e9",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 233
  },
  "hsl": {
    "h": 219.474,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6295,
    "c": 0.16077,
    "h": 262.1
  },
  "luminance": 0.24408
}

Semantic roles & 50–950 ramp

primary
#5185E9
secondary
#E7D4AF
accent
#930CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5185E9

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

Preview Lab → · Contrast checker → · Palette generator →

#5185E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva