#5183E8#5183E8

#5183E8 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.5% C 0.162 H 262.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5183E8
RGBrgb(81, 131, 232)
HSLhsl(220, 77%, 61%)
HSVhsv(220, 65%, 91%)
CMYKcmyk(65.1%, 43.5%, 0%, 9%)
CIE-LABlab(55.89, 14.98, -56.18)
CIE-LCHlch(55.89, 58.14, 284.93°)
OKLaboklab(62.47% -0.0203 -0.1604)
OKLCHoklch(62.47% 0.162 262.8)
XYZxyz(26.0700, 23.8056, 79.5493)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183E8 #E8B651
analogous
#51CFE8 #5183E8 #6B51E8
triadic
#5183E8 #E85183 #83E851
tetradic
#5183E8 #E851CF #E8B651 #51E86B
square
#5183E8 #E851CF #E8B651 #51E86B
split-complementary
#5183E8 #E86B51 #CFE851
monochromatic
#1647A8 #1D5DDE #5183E8 #87AAEF #BDD0F6

Accessibility & contrast

On white

3.64
#5183E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5183E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183E8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183E8#FFFFFF#000000##000000
##5183E81.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#538DEC
Deuteranopia (green-blind)
#397FE6
Tritanopia (blue-blind)
#009AAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5183e8;
/* rgb */ color: rgb(81, 131, 232);
/* oklch */ color: oklch(62.5% 0.162 262.8);
Tailwind
colors: {
  custom: {
    50: '#90a6f0',
    500: '#5183e8',
    950: '#000000',
  },
}
SCSS
$custom: #5183e8;
$custom-light: #90a6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5183e8",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 232
  },
  "hsl": {
    "h": 220.132,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62471,
    "c": 0.16173,
    "h": 262.8
  },
  "luminance": 0.23808
}

Semantic roles & 50–950 ramp

primary
#5183E8
secondary
#E7D4AE
accent
#950DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5183E8

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

Preview Lab → · Contrast checker → · Palette generator →

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