#5782BF#5782BF

#5782BF is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.2% C 0.105 H 257.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5782BF
RGBrgb(87, 130, 191)
HSLhsl(215, 45%, 55%)
HSVhsv(215, 54%, 75%)
CMYKcmyk(54.5%, 31.9%, 0%, 25.1%)
CIE-LABlab(53.76, 3.07, -36.41)
CIE-LCHlch(53.76, 36.54, 274.82°)
OKLaboklab(60.2% -0.0233 -0.1025)
OKLCHoklch(60.2% 0.105 257.2)
XYZxyz(21.3138, 21.7514, 52.3554)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5782BF #BF9457
analogous
#57B6BF #5782BF #6057BF
triadic
#5782BF #BF5782 #82BF57
tetradic
#5782BF #BF57B6 #BF9457 #57BF60
square
#5782BF #BF57B6 #BF9457 #57BF60
split-complementary
#5782BF #BF6057 #B6BF57
monochromatic
#2B4871 #3C649D #5782BF #83A3D0 #B0C4E1

Accessibility & contrast

On white

3.92
#5782BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5782BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5782BF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5782BF#FFFFFF#000000##000000
##5782BF1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A86C2
Deuteranopia (green-blind)
#5D7CBE
Tritanopia (blue-blind)
#189098
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5782bf;
/* rgb */ color: rgb(87, 130, 191);
/* oklch */ color: oklch(60.2% 0.105 257.2);
Tailwind
colors: {
  custom: {
    50: '#8da6d2',
    500: '#5782bf',
    950: '#000000',
  },
}
SCSS
$custom: #5782bf;
$custom-light: #8da6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5782bf",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 191
  },
  "hsl": {
    "h": 215.192,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.602,
    "c": 0.10515,
    "h": 257.2
  },
  "luminance": 0.21753
}

Semantic roles & 50–950 ramp

primary
#5782BF
secondary
#CFBDA3
accent
#9F53D5
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5782BF

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

Preview Lab → · Contrast checker → · Palette generator →

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