#5782CF#5782CF

#5782CF is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.1% C 0.127 H 261.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5782CF
RGBrgb(87, 130, 207)
HSLhsl(219, 56%, 58%)
HSVhsv(219, 58%, 81%)
CMYKcmyk(58%, 37.2%, 0%, 18.8%)
CIE-LABlab(54.55, 8.27, -44.26)
CIE-LCHlch(54.55, 45.03, 280.58°)
OKLaboklab(61.07% -0.0192 -0.1254)
OKLCHoklch(61.07% 0.127 261.3)
XYZxyz(23.1717, 22.4946, 62.1402)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782CF #CFA457
analogous
#57BECF #5782CF #6857CF
triadic
#5782CF #CF5782 #82CF57
tetradic
#5782CF #CF57BE #CFA457 #57CF68
square
#5782CF #CF57BE #CFA457 #57CF68
split-complementary
#5782CF #CF6857 #BECF57
monochromatic
#264885 #3462B5 #5782CF #87A5DD #B6C9EA

Accessibility & contrast

On white

3.82
#5782CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5782CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782CF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782CF#FFFFFF#000000##000000
##5782CF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6289D2
Deuteranopia (green-blind)
#527DCD
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5782cf;
/* rgb */ color: rgb(87, 130, 207);
/* oklch */ color: oklch(61.1% 0.127 261.3);
Tailwind
colors: {
  custom: {
    50: '#8fa5de',
    500: '#5782cf',
    950: '#000000',
  },
}
SCSS
$custom: #5782cf;
$custom-light: #8fa5de;
$custom-dark: #000000;
JSON
{
  "hex": "#5782cf",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 218.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.12689,
    "h": 261.3
  },
  "luminance": 0.22496
}

Semantic roles & 50–950 ramp

primary
#5782CF
secondary
#D9C8A9
accent
#A949DF
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5782CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5782CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva