#5682F2#5682F2

#5682F2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.1% C 0.175 H 265.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5682F2
RGBrgb(86, 130, 242)
HSLhsl(223, 86%, 64%)
HSVhsv(223, 64%, 95%)
CMYKcmyk(64.5%, 46.3%, 0%, 5.1%)
CIE-LABlab(56.44, 19.83, -60.85)
CIE-LCHlch(56.44, 64.00, 288.05°)
OKLaboklab(63.14% -0.0136 -0.1741)
OKLCHoklch(63.14% 0.175 265.5)
XYZxyz(27.8418, 24.3519, 87.2203)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5682F2 #F2C656
analogous
#56D0F2 #5682F2 #7856F2
triadic
#5682F2 #F25682 #82F256
tetradic
#5682F2 #F256D0 #F2C656 #56F278
square
#5682F2 #F256D0 #F2C656 #56F278
split-complementary
#5682F2 #F27856 #D0F256
monochromatic
#0F40BF #1D58EE #5682F2 #8FACF6 #C8D6FB

Accessibility & contrast

On white

3.58
#5682F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5682F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5682F2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5682F2#FFFFFF#000000##000000
##5682F21.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#2B81F0
Tritanopia (blue-blind)
#009CAE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5682f2;
/* rgb */ color: rgb(86, 130, 242);
/* oklch */ color: oklch(63.1% 0.175 265.5);
Tailwind
colors: {
  custom: {
    50: '#94a5f7',
    500: '#5682f2',
    950: '#000000',
  },
}
SCSS
$custom: #5682f2;
$custom-light: #94a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5682f2",
  "rgb": {
    "r": 86,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 223.077,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6314,
    "c": 0.17464,
    "h": 265.5
  },
  "luminance": 0.24355
}

Semantic roles & 50–950 ramp

primary
#5682F2
secondary
#EDDEB7
accent
#A303E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5682F2

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

Preview Lab → · Contrast checker → · Palette generator →

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