#5082DF#5082DF

#5082DF is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.7% C 0.151 H 261.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5082DF
RGBrgb(80, 130, 223)
HSLhsl(219, 69%, 59%)
HSVhsv(219, 64%, 87%)
CMYKcmyk(64.1%, 41.7%, 0%, 12.5%)
CIE-LABlab(55.07, 12.34, -52.47)
CIE-LCHlch(55.07, 53.90, 283.23°)
OKLaboklab(61.66% -0.0218 -0.1496)
OKLCHoklch(61.66% 0.151 261.7)
XYZxyz(24.6055, 22.9961, 72.9397)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5082DF #DFAD50
analogous
#50CADF #5082DF #6650DF
triadic
#5082DF #DF5082 #82DF50
tetradic
#5082DF #DF50CA #DFAD50 #50DF66
square
#5082DF #DF50CA #DFAD50 #50DF66
split-complementary
#5082DF #DF6650 #CADF50
monochromatic
#1C4899 #2560CC #5082DF #84A7E8 #B7CCF2

Accessibility & contrast

On white

3.75
#5082DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5082DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5082DF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5082DF#FFFFFF#000000##000000
##5082DF1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#417EDD
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5082df;
/* rgb */ color: rgb(80, 130, 223);
/* oklch */ color: oklch(61.7% 0.151 261.7);
Tailwind
colors: {
  custom: {
    50: '#8ea5e9',
    500: '#5082df',
    950: '#000000',
  },
}
SCSS
$custom: #5082df;
$custom-light: #8ea5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5082df",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 219.021,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.15117,
    "h": 261.7
  },
  "luminance": 0.22998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5082DF

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

Preview Lab → · Contrast checker → · Palette generator →

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