#5183D5#5183D5

#5183D5 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.3% C 0.136 H 259.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5183D5
RGBrgb(81, 131, 213)
HSLhsl(217, 61%, 58%)
HSVhsv(217, 62%, 84%)
CMYKcmyk(62%, 38.5%, 0%, 16.5%)
CIE-LABlab(54.85, 8.51, -47.19)
CIE-LCHlch(54.85, 47.95, 280.22°)
OKLaboklab(61.33% -0.0241 -0.1341)
OKLCHoklch(61.33% 0.136 259.8)
XYZxyz(23.5156, 22.7839, 66.0964)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183D5 #D5A351
analogous
#51C5D5 #5183D5 #6151D5
triadic
#5183D5 #D55183 #83D551
tetradic
#5183D5 #D551C5 #D5A351 #51D561
square
#5183D5 #D551C5 #D5A351 #51D561
split-complementary
#5183D5 #D56151 #C5D551
monochromatic
#21498A #2D63BC #5183D5 #82A6E1 #B4C9ED

Accessibility & contrast

On white

3.78
#5183D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5183D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183D5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183D5#FFFFFF#000000##000000
##5183D51.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5183d5;
/* rgb */ color: rgb(81, 131, 213);
/* oklch */ color: oklch(61.3% 0.136 259.8);
Tailwind
colors: {
  custom: {
    50: '#8da6e2',
    500: '#5183d5',
    950: '#000000',
  },
}
SCSS
$custom: #5183d5;
$custom-light: #8da6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5183d5",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 213
  },
  "hsl": {
    "h": 217.273,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61325,
    "c": 0.13624,
    "h": 259.8
  },
  "luminance": 0.22786
}

Semantic roles & 50–950 ramp

primary
#5183D5
secondary
#DBC7A6
accent
#A744E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5183D5

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

Preview Lab → · Contrast checker → · Palette generator →

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