#5F82BB#5F82BB

#5F82BB is a mid, moderate blue. Relative luminance 0.220; OKLCH L 60.4% C 0.096 H 259.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5F82BB
RGBrgb(95, 130, 187)
HSLhsl(217, 40%, 55%)
HSVhsv(217, 49%, 73%)
CMYKcmyk(49.2%, 30.5%, 0%, 26.7%)
CIE-LABlab(54.01, 3.68, -33.70)
CIE-LCHlch(54.01, 33.90, 276.23°)
OKLaboklab(60.45% -0.0169 -0.0946)
OKLCHoklch(60.45% 0.096 259.9)
XYZxyz(21.6686, 21.9845, 50.1057)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82BB #BB985F
analogous
#5FB0BB #5F82BB #6A5FBB
triadic
#5F82BB #BB5F82 #82BB5F
tetradic
#5F82BB #BB5FB0 #BB985F #5FBB6A
square
#5F82BB #BB5FB0 #BB985F #5FBB6A
split-complementary
#5F82BB #BB6A5F #B0BB5F
monochromatic
#304870 #42649B #5F82BB #8AA4CD #B5C5E0

Accessibility & contrast

On white

3.89
#5F82BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5F82BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82BB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82BB#FFFFFF#000000##000000
##5F82BB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BD
Deuteranopia (green-blind)
#627DBA
Tritanopia (blue-blind)
#378E96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f82bb;
/* rgb */ color: rgb(95, 130, 187);
/* oklch */ color: oklch(60.4% 0.096 259.9);
Tailwind
colors: {
  custom: {
    50: '#91a6cf',
    500: '#5f82bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f82bb;
$custom-light: #91a6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82bb",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 187
  },
  "hsl": {
    "h": 217.174,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.09607,
    "h": 259.9
  },
  "luminance": 0.21986
}

Semantic roles & 50–950 ramp

primary
#5F82BB
secondary
#CEBFA8
accent
#A258D0
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F82BB

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

Preview Lab → · Contrast checker → · Palette generator →

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