#5685D2#5685D2

#5685D2 is a mid, vivid blue. Relative luminance 0.234; OKLCH L 61.8% C 0.128 H 259.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5685D2
RGBrgb(86, 133, 210)
HSLhsl(217, 58%, 58%)
HSVhsv(217, 59%, 82%)
CMYKcmyk(59%, 36.7%, 0%, 17.6%)
CIE-LABlab(55.49, 7.26, -44.47)
CIE-LCHlch(55.49, 45.06, 279.27°)
OKLaboklab(61.83% -0.0226 -0.126)
OKLCHoklch(61.83% 0.128 259.8)
XYZxyz(23.8541, 23.4046, 64.2207)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5685D2 #D2A356
analogous
#56C3D2 #5685D2 #6556D2
triadic
#5685D2 #D25685 #85D256
tetradic
#5685D2 #D256C3 #D2A356 #56D265
square
#5685D2 #D256C3 #D2A356 #56D265
split-complementary
#5685D2 #D26556 #C3D256
monochromatic
#254B89 #3165B9 #5685D2 #86A8DF #B7CBEC

Accessibility & contrast

On white

3.70
#5685D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5685D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5685D2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5685D2#FFFFFF#000000##000000
##5685D21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#658BD5
Deuteranopia (green-blind)
#5480D0
Tritanopia (blue-blind)
#0096A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5685d2;
/* rgb */ color: rgb(86, 133, 210);
/* oklch */ color: oklch(61.8% 0.128 259.8);
Tailwind
colors: {
  custom: {
    50: '#8fa8e0',
    500: '#5685d2',
    950: '#000000',
  },
}
SCSS
$custom: #5685d2;
$custom-light: #8fa8e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5685d2",
  "rgb": {
    "r": 86,
    "g": 133,
    "b": 210
  },
  "hsl": {
    "h": 217.258,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61834,
    "c": 0.12806,
    "h": 259.8
  },
  "luminance": 0.23407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5685D2

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

Preview Lab → · Contrast checker → · Palette generator →

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