#5183CC#5183CC

#5183CC is a mid, vivid blue. Relative luminance 0.223; OKLCH L 60.8% C 0.124 H 257.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5183CC
RGBrgb(81, 131, 204)
HSLhsl(216, 55%, 56%)
HSVhsv(216, 60%, 80%)
CMYKcmyk(60.3%, 35.8%, 0%, 20%)
CIE-LABlab(54.39, 5.48, -42.84)
CIE-LCHlch(54.39, 43.19, 277.29°)
OKLaboklab(60.81% -0.0262 -0.1214)
OKLCHoklch(60.81% 0.124 257.8)
XYZxyz(22.4049, 22.3396, 60.2463)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183CC #CC9A51
analogous
#51C0CC #5183CC #5C51CC
triadic
#5183CC #CC5183 #83CC51
tetradic
#5183CC #CC51C0 #CC9A51 #51CC5C
square
#5183CC #CC51C0 #CC9A51 #51CC5C
split-complementary
#5183CC #CC5C51 #C0CC51
monochromatic
#25497E #3364AD #5183CC #80A5DA #B0C6E8

Accessibility & contrast

On white

3.84
#5183CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5183CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183CC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183CC#FFFFFF#000000##000000
##5183CC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CF
Deuteranopia (green-blind)
#547DCA
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5183cc;
/* rgb */ color: rgb(81, 131, 204);
/* oklch */ color: oklch(60.8% 0.124 257.8);
Tailwind
colors: {
  custom: {
    50: '#8ca6dc',
    500: '#5183cc',
    950: '#000000',
  },
}
SCSS
$custom: #5183cc;
$custom-light: #8ca6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5183cc",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 204
  },
  "hsl": {
    "h": 215.61,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60814,
    "c": 0.12416,
    "h": 257.8
  },
  "luminance": 0.22342
}

Semantic roles & 50–950 ramp

primary
#5183CC
secondary
#D6C1A3
accent
#A24ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5183CC

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

Preview Lab → · Contrast checker → · Palette generator →

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