#5183DA#5183DA

#5183DA is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.6% C 0.143 H 260.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5183DA
RGBrgb(81, 131, 218)
HSLhsl(218, 65%, 59%)
HSVhsv(218, 63%, 85%)
CMYKcmyk(62.8%, 39.9%, 0%, 14.5%)
CIE-LABlab(55.12, 10.20, -49.58)
CIE-LCHlch(55.12, 50.62, 281.62°)
OKLaboklab(61.62% -0.023 -0.1411)
OKLCHoklch(61.62% 0.143 260.7)
XYZxyz(24.1601, 23.0416, 69.4903)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183DA #DAA851
analogous
#51C7DA #5183DA #6351DA
triadic
#5183DA #DA5183 #83DA51
tetradic
#5183DA #DA51C7 #DAA851 #51DA63
square
#5183DA #DA51C7 #DAA851 #51DA63
split-complementary
#5183DA #DA6351 #C7DA51
monochromatic
#1F4992 #2A62C4 #5183DA #83A7E5 #B6CBEF

Accessibility & contrast

On white

3.74
#5183DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5183DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183DA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183DA#FFFFFF#000000##000000
##5183DA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDD
Deuteranopia (green-blind)
#497ED8
Tritanopia (blue-blind)
#0097A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5183da;
/* rgb */ color: rgb(81, 131, 218);
/* oklch */ color: oklch(61.6% 0.143 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ea6e6',
    500: '#5183da',
    950: '#000000',
  },
}
SCSS
$custom: #5183da;
$custom-light: #8ea6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5183da",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 218
  },
  "hsl": {
    "h": 218.102,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61618,
    "c": 0.14295,
    "h": 260.7
  },
  "luminance": 0.23044
}

Semantic roles & 50–950 ramp

primary
#5183DA
secondary
#DECBA8
accent
#AB40E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5183DA

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

Preview Lab → · Contrast checker → · Palette generator →

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