#5F84BC#5F84BC

#5F84BC is a mid, moderate blue. Relative luminance 0.226; OKLCH L 60.9% C 0.095 H 258.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5F84BC
RGBrgb(95, 132, 188)
HSLhsl(216, 41%, 55%)
HSVhsv(216, 49%, 74%)
CMYKcmyk(49.5%, 29.8%, 0%, 26.3%)
CIE-LABlab(54.62, 2.80, -33.32)
CIE-LCHlch(54.62, 33.44, 274.81°)
OKLaboklab(60.94% -0.0191 -0.0935)
OKLCHoklch(60.94% 0.095 258.5)
XYZxyz(22.0446, 22.5647, 50.7610)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84BC #BC975F
analogous
#5FB2BC #5F84BC #685FBC
triadic
#5F84BC #BC5F84 #84BC5F
tetradic
#5F84BC #BC5FB2 #BC975F #5FBC68
square
#5F84BC #BC5FB2 #BC975F #5FBC68
split-complementary
#5F84BC #BC685F #B2BC5F
monochromatic
#2F4A71 #41669C #5F84BC #8AA5CE #B5C6E0

Accessibility & contrast

On white

3.81
#5F84BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5F84BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84BC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84BC#FFFFFF#000000##000000
##5F84BC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88BE
Deuteranopia (green-blind)
#637FBB
Tritanopia (blue-blind)
#359098
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f84bc;
/* rgb */ color: rgb(95, 132, 188);
/* oklch */ color: oklch(60.9% 0.095 258.5);
Tailwind
colors: {
  custom: {
    50: '#91a7d0',
    500: '#5f84bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f84bc;
$custom-light: #91a7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84bc",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 188
  },
  "hsl": {
    "h": 216.129,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6094,
    "c": 0.09539,
    "h": 258.5
  },
  "luminance": 0.22566
}

Semantic roles & 50–950 ramp

primary
#5F84BC
secondary
#CFBFA8
accent
#A057D1
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F84BC

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

Preview Lab → · Contrast checker → · Palette generator →

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