#5183DF#5183DF

#5183DF is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.9% C 0.150 H 261.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5183DF
RGBrgb(81, 131, 223)
HSLhsl(219, 69%, 60%)
HSVhsv(219, 64%, 87%)
CMYKcmyk(63.7%, 41.3%, 0%, 12.5%)
CIE-LABlab(55.39, 11.90, -51.95)
CIE-LCHlch(55.39, 53.30, 282.90°)
OKLaboklab(61.92% -0.022 -0.148)
OKLCHoklch(61.92% 0.15 261.5)
XYZxyz(24.8242, 23.3073, 72.9883)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183DF #DFAD51
analogous
#51CADF #5183DF #6651DF
triadic
#5183DF #DF5183 #83DF51
tetradic
#5183DF #DF51CA #DFAD51 #51DF66
square
#5183DF #DF51CA #DFAD51 #51DF66
split-complementary
#5183DF #DF6651 #CADF51
monochromatic
#1C4899 #2661CD #5183DF #85A8E9 #B8CDF2

Accessibility & contrast

On white

3.71
#5183DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5183DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183DF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183DF#FFFFFF#000000##000000
##5183DF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#598CE3
Deuteranopia (green-blind)
#447FDD
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5183df;
/* rgb */ color: rgb(81, 131, 223);
/* oklch */ color: oklch(61.9% 0.150 261.5);
Tailwind
colors: {
  custom: {
    50: '#8fa6e9',
    500: '#5183df',
    950: '#000000',
  },
}
SCSS
$custom: #5183df;
$custom-light: #8fa6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5183df",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 223
  },
  "hsl": {
    "h": 218.873,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61918,
    "c": 0.14968,
    "h": 261.5
  },
  "luminance": 0.2331
}

Semantic roles & 50–950 ramp

primary
#5183DF
secondary
#E1CEAA
accent
#AE3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5183DF

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

Preview Lab → · Contrast checker → · Palette generator →

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