#5F82BC#5F82BC

#5F82BC is a mid, moderate blue. Relative luminance 0.220; OKLCH L 60.5% C 0.097 H 260.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5F82BC
RGBrgb(95, 130, 188)
HSLhsl(217, 41%, 55%)
HSVhsv(217, 49%, 74%)
CMYKcmyk(49.5%, 30.9%, 0%, 26.3%)
CIE-LABlab(54.06, 3.98, -34.20)
CIE-LCHlch(54.06, 34.43, 276.64°)
OKLaboklab(60.5% -0.0167 -0.096)
OKLCHoklch(60.5% 0.097 260.2)
XYZxyz(21.7760, 22.0275, 50.6715)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82BC #BC995F
analogous
#5FB1BC #5F82BC #6A5FBC
triadic
#5F82BC #BC5F82 #82BC5F
tetradic
#5F82BC #BC5FB1 #BC995F #5FBC6A
square
#5F82BC #BC5FB1 #BC995F #5FBC6A
split-complementary
#5F82BC #BC6A5F #B1BC5F
monochromatic
#2F4871 #41649C #5F82BC #8AA4CE #B5C5E0

Accessibility & contrast

On white

3.88
#5F82BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5F82BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82BC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82BC#FFFFFF#000000##000000
##5F82BC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BE
Deuteranopia (green-blind)
#617DBB
Tritanopia (blue-blind)
#368F97
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f82bc;
/* rgb */ color: rgb(95, 130, 188);
/* oklch */ color: oklch(60.5% 0.097 260.2);
Tailwind
colors: {
  custom: {
    50: '#91a6d0',
    500: '#5f82bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f82bc;
$custom-light: #91a6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82bc",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 188
  },
  "hsl": {
    "h": 217.419,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60499,
    "c": 0.09745,
    "h": 260.2
  },
  "luminance": 0.22029
}

Semantic roles & 50–950 ramp

primary
#5F82BC
secondary
#CFC0A8
accent
#A357D1
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F82BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5F82BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva