#5684D2#5684D2

#5684D2 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.6% C 0.129 H 260.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5684D2
RGBrgb(86, 132, 210)
HSLhsl(218, 58%, 58%)
HSVhsv(218, 59%, 82%)
CMYKcmyk(59%, 37.1%, 0%, 17.6%)
CIE-LABlab(55.21, 7.85, -44.91)
CIE-LCHlch(55.21, 45.60, 279.92°)
OKLaboklab(61.62% -0.0215 -0.1273)
OKLCHoklch(61.62% 0.129 260.4)
XYZxyz(23.7178, 23.1321, 64.1753)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5684D2 #D2A456
analogous
#56C2D2 #5684D2 #6656D2
triadic
#5684D2 #D25684 #84D256
tetradic
#5684D2 #D256C2 #D2A456 #56D266
square
#5684D2 #D256C2 #D2A456 #56D266
split-complementary
#5684D2 #D26656 #C2D256
monochromatic
#254A89 #3164B9 #5684D2 #86A7DF #B7CAEC

Accessibility & contrast

On white

3.73
#5684D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5684D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5684D2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5684D2#FFFFFF#000000##000000
##5684D21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#638AD5
Deuteranopia (green-blind)
#537FD0
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5684d2;
/* rgb */ color: rgb(86, 132, 210);
/* oklch */ color: oklch(61.6% 0.129 260.4);
Tailwind
colors: {
  custom: {
    50: '#8fa7e0',
    500: '#5684d2',
    950: '#000000',
  },
}
SCSS
$custom: #5684d2;
$custom-light: #8fa7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5684d2",
  "rgb": {
    "r": 86,
    "g": 132,
    "b": 210
  },
  "hsl": {
    "h": 217.742,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61618,
    "c": 0.12914,
    "h": 260.4
  },
  "luminance": 0.23134
}

Semantic roles & 50–950 ramp

primary
#5684D2
secondary
#DBC8A9
accent
#A847E1
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5684D2

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

Preview Lab → · Contrast checker → · Palette generator →

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