#5682D2#5682D2

#5682D2 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.2% C 0.131 H 261.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5682D2
RGBrgb(86, 130, 210)
HSLhsl(219, 58%, 58%)
HSVhsv(219, 59%, 82%)
CMYKcmyk(59%, 38.1%, 0%, 17.6%)
CIE-LABlab(54.65, 9.06, -45.79)
CIE-LCHlch(54.65, 46.68, 281.19°)
OKLaboklab(61.19% -0.0194 -0.1299)
OKLCHoklch(61.19% 0.131 261.5)
XYZxyz(23.4492, 22.5948, 64.0858)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5682D2 #D2A656
analogous
#56C0D2 #5682D2 #6856D2
triadic
#5682D2 #D25682 #82D256
tetradic
#5682D2 #D256C0 #D2A656 #56D268
square
#5682D2 #D256C0 #D2A656 #56D268
split-complementary
#5682D2 #D26856 #C0D256
monochromatic
#254889 #3162B9 #5682D2 #86A6DF #B7C9EC

Accessibility & contrast

On white

3.80
#5682D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5682D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5682D2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5682D2#FFFFFF#000000##000000
##5682D21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6089D5
Deuteranopia (green-blind)
#507DD0
Tritanopia (blue-blind)
#0094A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5682d2;
/* rgb */ color: rgb(86, 130, 210);
/* oklch */ color: oklch(61.2% 0.131 261.5);
Tailwind
colors: {
  custom: {
    50: '#8fa5e0',
    500: '#5682d2',
    950: '#000000',
  },
}
SCSS
$custom: #5682d2;
$custom-light: #8fa5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5682d2",
  "rgb": {
    "r": 86,
    "g": 130,
    "b": 210
  },
  "hsl": {
    "h": 218.71,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61187,
    "c": 0.13137,
    "h": 261.5
  },
  "luminance": 0.22597
}

Semantic roles & 50–950 ramp

primary
#5682D2
secondary
#DBC9A9
accent
#AA47E1
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5682D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5682D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva