#5183DE#5183DE

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

Color values

HEX#5183DE
RGBrgb(81, 131, 222)
HSLhsl(219, 68%, 59%)
HSVhsv(219, 64%, 87%)
CMYKcmyk(63.5%, 41%, 0%, 12.9%)
CIE-LABlab(55.33, 11.56, -51.48)
CIE-LCHlch(55.33, 52.76, 282.66°)
OKLaboklab(61.86% -0.0222 -0.1467)
OKLCHoklch(61.86% 0.148 261.4)
XYZxyz(24.6898, 23.2535, 72.2803)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183DE #DEAC51
analogous
#51CADE #5183DE #6551DE
triadic
#5183DE #DE5183 #83DE51
tetradic
#5183DE #DE51CA #DEAC51 #51DE65
square
#5183DE #DE51CA #DEAC51 #51DE65
split-complementary
#5183DE #DE6551 #CADE51
monochromatic
#1D4898 #2761CB #5183DE #84A8E8 #B8CCF2

Accessibility & contrast

On white

3.72
#5183DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5183DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183DE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183DE#FFFFFF#000000##000000
##5183DE1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE2
Deuteranopia (green-blind)
#457EDC
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5183de;
/* rgb */ color: rgb(81, 131, 222);
/* oklch */ color: oklch(61.9% 0.148 261.4);
Tailwind
colors: {
  custom: {
    50: '#8fa6e9',
    500: '#5183de',
    950: '#000000',
  },
}
SCSS
$custom: #5183de;
$custom-light: #8fa6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5183de",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 222
  },
  "hsl": {
    "h": 218.723,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61857,
    "c": 0.14833,
    "h": 261.4
  },
  "luminance": 0.23256
}

Semantic roles & 50–950 ramp

primary
#5183DE
secondary
#E1CDAA
accent
#AD3DEB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5183DE

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

Preview Lab → · Contrast checker → · Palette generator →

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