#5F84AB#5F84AB

#5F84AB is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 60.1% C 0.073 H 250.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5F84AB
RGBrgb(95, 132, 171)
HSLhsl(211, 31%, 52%)
HSVhsv(211, 44%, 67%)
CMYKcmyk(44.4%, 22.8%, 0%, 32.9%)
CIE-LABlab(53.89, -2.30, -24.70)
CIE-LCHlch(53.89, 24.81, 264.68°)
OKLaboklab(60.13% -0.0245 -0.0687)
OKLCHoklch(60.13% 0.073 250.4)
XYZxyz(20.3188, 21.8744, 41.6717)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84AB #AB865F
analogous
#5FAAAB #5F84AB #605FAB
triadic
#5F84AB #AB5F84 #84AB5F
tetradic
#5F84AB #AB5FAA #AB865F #5FAB60
square
#5F84AB #AB5FAA #AB865F #5FAB60
split-complementary
#5F84AB #AB605F #AAAB5F
monochromatic
#31475E #476686 #5F84AB #87A3C0 #AFC2D5

Accessibility & contrast

On white

3.91
#5F84AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5F84AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84AB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84AB#FFFFFF#000000##000000
##5F84AB1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AD
Deuteranopia (green-blind)
#6B7DAA
Tritanopia (blue-blind)
#418D91
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f84ab;
/* rgb */ color: rgb(95, 132, 171);
/* oklch */ color: oklch(60.1% 0.073 250.4);
Tailwind
colors: {
  custom: {
    50: '#90a7c4',
    500: '#5f84ab',
    950: '#000000',
  },
}
SCSS
$custom: #5f84ab;
$custom-light: #90a7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84ab",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 171
  },
  "hsl": {
    "h": 210.789,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.07292,
    "h": 250.4
  },
  "luminance": 0.21876
}

Semantic roles & 50–950 ramp

primary
#5F84AB
secondary
#C3B3A2
accent
#9560C7
background
#F9FAFC
surface
#F1F4F8
border
#CBCED1
text
#0D0F12
muted
#7E7F81

Preview Lab

Preview with #5F84AB

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

Preview Lab → · Contrast checker → · Palette generator →

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