#5183CF#5183CF

#5183CF is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.0% C 0.128 H 258.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5183CF
RGBrgb(81, 131, 207)
HSLhsl(216, 57%, 56%)
HSVhsv(216, 61%, 81%)
CMYKcmyk(60.9%, 36.7%, 0%, 18.8%)
CIE-LABlab(54.54, 6.49, -44.30)
CIE-LCHlch(54.54, 44.77, 278.33°)
OKLaboklab(60.98% -0.0255 -0.1256)
OKLCHoklch(60.98% 0.128 258.5)
XYZxyz(22.7681, 22.4849, 62.1595)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183CF #CF9D51
analogous
#51C2CF #5183CF #5E51CF
triadic
#5183CF #CF5183 #83CF51
tetradic
#5183CF #CF51C2 #CF9D51 #51CF5E
square
#5183CF #CF51C2 #CF9D51 #51CF5E
split-complementary
#5183CF #CF5E51 #C2CF51
monochromatic
#244982 #3164B2 #5183CF #81A5DC #B1C7E9

Accessibility & contrast

On white

3.82
#5183CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5183CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183CF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183CF#FFFFFF#000000##000000
##5183CF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D2
Deuteranopia (green-blind)
#517DCD
Tritanopia (blue-blind)
#00949F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5183cf;
/* rgb */ color: rgb(81, 131, 207);
/* oklch */ color: oklch(61.0% 0.128 258.5);
Tailwind
colors: {
  custom: {
    50: '#8ca6de',
    500: '#5183cf',
    950: '#000000',
  },
}
SCSS
$custom: #5183cf;
$custom-light: #8ca6de;
$custom-dark: #000000;
JSON
{
  "hex": "#5183cf",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 207
  },
  "hsl": {
    "h": 216.19,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.12818,
    "h": 258.5
  },
  "luminance": 0.22487
}

Semantic roles & 50–950 ramp

primary
#5183CF
secondary
#D8C3A4
accent
#A448E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5183CF

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

Preview Lab → · Contrast checker → · Palette generator →

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