#5183CB#5183CB

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

Color values

HEX#5183CB
RGBrgb(81, 131, 203)
HSLhsl(215, 54%, 56%)
HSVhsv(215, 60%, 80%)
CMYKcmyk(60.1%, 35.5%, 0%, 20.4%)
CIE-LABlab(54.34, 5.15, -42.35)
CIE-LCHlch(54.34, 42.66, 276.93°)
OKLaboklab(60.76% -0.0265 -0.1199)
OKLCHoklch(60.76% 0.123 257.6)
XYZxyz(22.2853, 22.2917, 59.6167)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183CB #CB9951
analogous
#51C0CB #5183CB #5C51CB
triadic
#5183CB #CB5183 #83CB51
tetradic
#5183CB #CB51C0 #CB9951 #51CB5C
square
#5183CB #CB51C0 #CB9951 #51CB5C
split-complementary
#5183CB #CB5C51 #C0CB51
monochromatic
#25497C #3365AC #5183CB #80A5D9 #AFC6E7

Accessibility & contrast

On white

3.85
#5183CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5183CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183CB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183CB#FFFFFF#000000##000000
##5183CB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CE
Deuteranopia (green-blind)
#547DCA
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5183cb;
/* rgb */ color: rgb(81, 131, 203);
/* oklch */ color: oklch(60.8% 0.123 257.6);
Tailwind
colors: {
  custom: {
    50: '#8ca6db',
    500: '#5183cb',
    950: '#000000',
  },
}
SCSS
$custom: #5183cb;
$custom-light: #8ca6db;
$custom-dark: #000000;
JSON
{
  "hex": "#5183cb",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 203
  },
  "hsl": {
    "h": 215.41,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60758,
    "c": 0.12283,
    "h": 257.6
  },
  "luminance": 0.22294
}

Semantic roles & 50–950 ramp

primary
#5183CB
secondary
#D5C0A3
accent
#A14ADD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5183CB

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

Preview Lab → · Contrast checker → · Palette generator →

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