#5183CD#5183CD

#5183CD is a mid, vivid blue. Relative luminance 0.224; OKLCH L 60.9% C 0.126 H 258.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5183CD
RGBrgb(81, 131, 205)
HSLhsl(216, 55%, 56%)
HSVhsv(216, 60%, 80%)
CMYKcmyk(60.5%, 36.1%, 0%, 19.6%)
CIE-LABlab(54.44, 5.82, -43.32)
CIE-LCHlch(54.44, 43.71, 277.65°)
OKLaboklab(60.87% -0.026 -0.1228)
OKLCHoklch(60.87% 0.126 258.1)
XYZxyz(22.5252, 22.3877, 60.8800)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183CD #CD9B51
analogous
#51C1CD #5183CD #5D51CD
triadic
#5183CD #CD5183 #83CD51
tetradic
#5183CD #CD51C1 #CD9B51 #51CD5D
square
#5183CD #CD51C1 #CD9B51 #51CD5D
split-complementary
#5183CD #CD5D51 #C1CD51
monochromatic
#25497F #3264AF #5183CD #81A5DB #B0C7E8

Accessibility & contrast

On white

3.83
#5183CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5183CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183CD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183CD#FFFFFF#000000##000000
##5183CD1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D0
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#00949E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5183cd;
/* rgb */ color: rgb(81, 131, 205);
/* oklch */ color: oklch(60.9% 0.126 258.1);
Tailwind
colors: {
  custom: {
    50: '#8ca6dc',
    500: '#5183cd',
    950: '#000000',
  },
}
SCSS
$custom: #5183cd;
$custom-light: #8ca6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5183cd",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 205
  },
  "hsl": {
    "h": 215.806,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6087,
    "c": 0.1255,
    "h": 258.1
  },
  "luminance": 0.2239
}

Semantic roles & 50–950 ramp

primary
#5183CD
secondary
#D7C2A3
accent
#A249DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5183CD

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

Preview Lab → · Contrast checker → · Palette generator →

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