#5183D6#5183D6

#5183D6 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.4% C 0.138 H 260.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5183D6
RGBrgb(81, 131, 214)
HSLhsl(217, 62%, 58%)
HSVhsv(217, 62%, 84%)
CMYKcmyk(62.1%, 38.8%, 0%, 16.1%)
CIE-LABlab(54.90, 8.84, -47.67)
CIE-LCHlch(54.90, 48.48, 280.51°)
OKLaboklab(61.38% -0.0239 -0.1355)
OKLCHoklch(61.38% 0.138 260)
XYZxyz(23.6430, 22.8348, 66.7669)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183D6 #D6A451
analogous
#51C5D6 #5183D6 #6251D6
triadic
#5183D6 #D65183 #83D651
tetradic
#5183D6 #D651C5 #D6A451 #51D662
square
#5183D6 #D651C5 #D6A451 #51D662
split-complementary
#5183D6 #D66251 #C5D651
monochromatic
#21498C #2D63BD #5183D6 #83A6E2 #B4CAED

Accessibility & contrast

On white

3.77
#5183D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5183D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183D6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183D6#FFFFFF#000000##000000
##5183D61.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8AD9
Deuteranopia (green-blind)
#4C7ED4
Tritanopia (blue-blind)
#0096A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5183d6;
/* rgb */ color: rgb(81, 131, 214);
/* oklch */ color: oklch(61.4% 0.138 260.0);
Tailwind
colors: {
  custom: {
    50: '#8da6e3',
    500: '#5183d6',
    950: '#000000',
  },
}
SCSS
$custom: #5183d6;
$custom-light: #8da6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5183d6",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 214
  },
  "hsl": {
    "h": 217.444,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61384,
    "c": 0.13758,
    "h": 260
  },
  "luminance": 0.22837
}

Semantic roles & 50–950 ramp

primary
#5183D6
secondary
#DCC8A7
accent
#A843E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5183D6

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

Preview Lab → · Contrast checker → · Palette generator →

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