#5184DB#5184DB

#5184DB is a mid, vivid blue. Relative luminance 0.234; OKLCH L 61.9% C 0.143 H 260.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5184DB
RGBrgb(81, 132, 219)
HSLhsl(218, 66%, 59%)
HSVhsv(218, 63%, 86%)
CMYKcmyk(63%, 39.7%, 0%, 14.1%)
CIE-LABlab(55.45, 9.94, -49.62)
CIE-LCHlch(55.45, 50.60, 281.32°)
OKLaboklab(61.89% -0.0238 -0.1412)
OKLCHoklch(61.89% 0.143 260.4)
XYZxyz(24.4263, 23.3641, 70.2266)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184DB #DBA851
analogous
#51C9DB #5184DB #6351DB
triadic
#5184DB #DB5184 #84DB51
tetradic
#5184DB #DB51C9 #DBA851 #51DB63
square
#5184DB #DB51C9 #DBA851 #51DB63
split-complementary
#5184DB #DB6351 #C9DB51
monochromatic
#1E4A93 #2963C6 #5184DB #84A8E5 #B6CCF0

Accessibility & contrast

On white

3.70
#5184DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5184DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184DB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184DB#FFFFFF#000000##000000
##5184DB1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CDE
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#0098A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5184db;
/* rgb */ color: rgb(81, 132, 219);
/* oklch */ color: oklch(61.9% 0.143 260.4);
Tailwind
colors: {
  custom: {
    50: '#8ea7e6',
    500: '#5184db',
    950: '#000000',
  },
}
SCSS
$custom: #5184db;
$custom-light: #8ea7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5184db",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 219
  },
  "hsl": {
    "h": 217.826,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61892,
    "c": 0.14318,
    "h": 260.4
  },
  "luminance": 0.23366
}

Semantic roles & 50–950 ramp

primary
#5184DB
secondary
#DFCBA9
accent
#AA3FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5184DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5184DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva