#5185E8#5185E8

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

Color values

HEX#5185E8
RGBrgb(81, 133, 232)
HSLhsl(219, 77%, 61%)
HSVhsv(219, 65%, 91%)
CMYKcmyk(65.1%, 42.7%, 0%, 9%)
CIE-LABlab(56.43, 13.77, -55.31)
CIE-LCHlch(56.43, 57.00, 283.98°)
OKLaboklab(62.89% -0.0222 -0.1579)
OKLCHoklch(62.89% 0.159 262)
XYZxyz(26.3412, 24.3480, 79.6397)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185E8 #E8B451
analogous
#51D1E8 #5185E8 #6951E8
triadic
#5185E8 #E85185 #85E851
tetradic
#5185E8 #E851D1 #E8B451 #51E869
square
#5185E8 #E851D1 #E8B451 #51E869
split-complementary
#5185E8 #E86951 #D1E851
monochromatic
#1649A8 #1D60DE #5185E8 #87ABEF #BDD1F6

Accessibility & contrast

On white

3.58
#5185E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5185E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185E8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185E8#FFFFFF#000000##000000
##5185E81.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#568FEC
Deuteranopia (green-blind)
#3E81E6
Tritanopia (blue-blind)
#009CAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5185e8;
/* rgb */ color: rgb(81, 133, 232);
/* oklch */ color: oklch(62.9% 0.159 262.0);
Tailwind
colors: {
  custom: {
    50: '#90a8f0',
    500: '#5185e8',
    950: '#000000',
  },
}
SCSS
$custom: #5185e8;
$custom-light: #90a8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5185e8",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 232
  },
  "hsl": {
    "h": 219.338,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62888,
    "c": 0.15944,
    "h": 262
  },
  "luminance": 0.24351
}

Semantic roles & 50–950 ramp

primary
#5185E8
secondary
#E7D3AE
accent
#930DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5185E8

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

Preview Lab → · Contrast checker → · Palette generator →

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