#5282DF#5282DF

#5282DF is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.8% C 0.150 H 262.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5282DF
RGBrgb(82, 130, 223)
HSLhsl(220, 69%, 60%)
HSVhsv(220, 63%, 87%)
CMYKcmyk(63.2%, 41.7%, 0%, 12.5%)
CIE-LABlab(55.16, 12.68, -52.32)
CIE-LCHlch(55.16, 53.83, 283.63°)
OKLaboklab(61.75% -0.0202 -0.1491)
OKLCHoklch(61.75% 0.15 262.3)
XYZxyz(24.7769, 23.0845, 72.9478)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282DF #DFAF52
analogous
#52C9DF #5282DF #6852DF
triadic
#5282DF #DF5282 #82DF52
tetradic
#5282DF #DF52C9 #DFAF52 #52DF68
square
#5282DF #DF52C9 #DFAF52 #52DF68
split-complementary
#5282DF #DF6852 #C9DF52
monochromatic
#1D479A #265FCE #5282DF #86A7E9 #B9CDF2

Accessibility & contrast

On white

3.74
#5282DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5282DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282DF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282DF#FFFFFF#000000##000000
##5282DF1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5282df;
/* rgb */ color: rgb(82, 130, 223);
/* oklch */ color: oklch(61.8% 0.150 262.3);
Tailwind
colors: {
  custom: {
    50: '#8fa5e9',
    500: '#5282df',
    950: '#000000',
  },
}
SCSS
$custom: #5282df;
$custom-light: #8fa5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5282df",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 219.574,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61754,
    "c": 0.15046,
    "h": 262.3
  },
  "luminance": 0.23087
}

Semantic roles & 50–950 ramp

primary
#5282DF
secondary
#E2CFAB
accent
#B03CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5282DF

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

Preview Lab → · Contrast checker → · Palette generator →

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