#5183E1#5183E1

#5183E1 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.0% C 0.152 H 261.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5183E1
RGBrgb(81, 131, 225)
HSLhsl(219, 71%, 60%)
HSVhsv(219, 64%, 88%)
CMYKcmyk(64%, 41.8%, 0%, 11.8%)
CIE-LABlab(55.50, 12.59, -52.90)
CIE-LCHlch(55.50, 54.37, 283.38°)
OKLaboklab(62.04% -0.0216 -0.1508)
OKLCHoklch(62.04% 0.152 261.8)
XYZxyz(25.0955, 23.4158, 74.4167)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183E1 #E1AF51
analogous
#51CBE1 #5183E1 #6751E1
triadic
#5183E1 #E15183 #83E151
tetradic
#5183E1 #E151CB #E1AF51 #51E167
square
#5183E1 #E151CB #E1AF51 #51E167
split-complementary
#5183E1 #E16751 #CBE151
monochromatic
#1B489D #2460D1 #5183E1 #85A8EA #B9CDF3

Accessibility & contrast

On white

3.69
#5183E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5183E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183E1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183E1#FFFFFF#000000##000000
##5183E11.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#588CE5
Deuteranopia (green-blind)
#427FDF
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5183e1;
/* rgb */ color: rgb(81, 131, 225);
/* oklch */ color: oklch(62.0% 0.152 261.8);
Tailwind
colors: {
  custom: {
    50: '#8fa6eb',
    500: '#5183e1',
    950: '#000000',
  },
}
SCSS
$custom: #5183e1;
$custom-light: #8fa6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5183e1",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 225
  },
  "hsl": {
    "h": 219.167,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.62039,
    "c": 0.15236,
    "h": 261.8
  },
  "luminance": 0.23418
}

Semantic roles & 50–950 ramp

primary
#5183E1
secondary
#E3CFAB
accent
#AF3AED
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5183E1

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

Preview Lab → · Contrast checker → · Palette generator →

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