#5183D2#5183D2

#5183D2 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.2% C 0.132 H 259.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5183D2
RGBrgb(81, 131, 210)
HSLhsl(217, 59%, 57%)
HSVhsv(217, 61%, 82%)
CMYKcmyk(61.4%, 37.6%, 0%, 17.6%)
CIE-LABlab(54.69, 7.49, -45.75)
CIE-LCHlch(54.69, 46.36, 279.30°)
OKLaboklab(61.15% -0.0248 -0.1299)
OKLCHoklch(61.15% 0.132 259.2)
XYZxyz(23.1384, 22.6330, 64.1095)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183D2 #D2A051
analogous
#51C4D2 #5183D2 #6051D2
triadic
#5183D2 #D25183 #83D251
tetradic
#5183D2 #D251C4 #D2A051 #51D260
square
#5183D2 #D251C4 #D2A051 #51D260
split-complementary
#5183D2 #D26051 #C4D251
monochromatic
#234986 #2F64B7 #5183D2 #82A6DF #B2C8EB

Accessibility & contrast

On white

3.80
#5183D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5183D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183D2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183D2#FFFFFF#000000##000000
##5183D21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6189D5
Deuteranopia (green-blind)
#4F7DD0
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5183d2;
/* rgb */ color: rgb(81, 131, 210);
/* oklch */ color: oklch(61.2% 0.132 259.2);
Tailwind
colors: {
  custom: {
    50: '#8da6e0',
    500: '#5183d2',
    950: '#000000',
  },
}
SCSS
$custom: #5183d2;
$custom-light: #8da6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5183d2",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 210
  },
  "hsl": {
    "h": 216.744,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.1322,
    "h": 259.2
  },
  "luminance": 0.22635
}

Semantic roles & 50–950 ramp

primary
#5183D2
secondary
#DAC5A5
accent
#A546E2
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5183D2

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

Preview Lab → · Contrast checker → · Palette generator →

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