#5682EF#5682EF

#5682EF is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.9% C 0.171 H 265.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5682EF
RGBrgb(86, 130, 239)
HSLhsl(223, 83%, 64%)
HSVhsv(223, 64%, 94%)
CMYKcmyk(64%, 45.6%, 0%, 6.3%)
CIE-LABlab(56.26, 18.81, -59.47)
CIE-LCHlch(56.26, 62.38, 287.55°)
OKLaboklab(62.95% -0.014 -0.17)
OKLCHoklch(62.95% 0.171 265.3)
XYZxyz(27.3950, 24.1731, 84.8668)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5682EF #EFC356
analogous
#56CEEF #5682EF #7656EF
triadic
#5682EF #EF5682 #82EF56
tetradic
#5682EF #EF56CE #EFC356 #56EF76
square
#5682EF #EF56CE #EFC356 #56EF76
split-complementary
#5682EF #EF7656 #CEEF56
monochromatic
#1242B9 #1E59EA #5682EF #8EABF4 #C6D5FA

Accessibility & contrast

On white

3.60
#5682EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#5682EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5682EF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5682EF#FFFFFF#000000##000000
##5682EF1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#3080ED
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5682ef;
/* rgb */ color: rgb(86, 130, 239);
/* oklch */ color: oklch(62.9% 0.171 265.3);
Tailwind
colors: {
  custom: {
    50: '#94a5f5',
    500: '#5682ef',
    950: '#000000',
  },
}
SCSS
$custom: #5682ef;
$custom-light: #94a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5682ef",
  "rgb": {
    "r": 86,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 222.745,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62947,
    "c": 0.17063,
    "h": 265.3
  },
  "luminance": 0.24176
}

Semantic roles & 50–950 ramp

primary
#5682EF
secondary
#EBDCB5
accent
#A106DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5682EF

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

Preview Lab → · Contrast checker → · Palette generator →

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