#5183E2#5183E2

#5183E2 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.1% C 0.154 H 262.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5183E2
RGBrgb(81, 131, 226)
HSLhsl(219, 71%, 60%)
HSVhsv(219, 64%, 89%)
CMYKcmyk(64.2%, 42%, 0%, 11.4%)
CIE-LABlab(55.55, 12.93, -53.37)
CIE-LCHlch(55.55, 54.91, 283.62°)
OKLaboklab(62.1% -0.0214 -0.1522)
OKLCHoklch(62.1% 0.154 262)
XYZxyz(25.2323, 23.4705, 75.1373)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183E2 #E2B051
analogous
#51CCE2 #5183E2 #6751E2
triadic
#5183E2 #E25183 #83E251
tetradic
#5183E2 #E251CC #E2B051 #51E267
square
#5183E2 #E251CC #E2B051 #51E267
split-complementary
#5183E2 #E26751 #CCE251
monochromatic
#1A489E #2360D3 #5183E2 #85A8EB #BACEF3

Accessibility & contrast

On white

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

On black

5.69
#5183E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183E2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183E2#FFFFFF#000000##000000
##5183E21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#578CE6
Deuteranopia (green-blind)
#417FE0
Tritanopia (blue-blind)
#0099A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5183e2;
/* rgb */ color: rgb(81, 131, 226);
/* oklch */ color: oklch(62.1% 0.154 262.0);
Tailwind
colors: {
  custom: {
    50: '#8fa6eb',
    500: '#5183e2',
    950: '#000000',
  },
}
SCSS
$custom: #5183e2;
$custom-light: #8fa6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5183e2",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 226
  },
  "hsl": {
    "h": 219.31,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.621,
    "c": 0.1537,
    "h": 262
  },
  "luminance": 0.23473
}

Semantic roles & 50–950 ramp

primary
#5183E2
secondary
#E3D0AC
accent
#9112D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5183E2

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

Preview Lab → · Contrast checker → · Palette generator →

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