#5F84A2#5F84A2

#5F84A2 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.7% C 0.062 H 243.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5F84A2
RGBrgb(95, 132, 162)
HSLhsl(207, 26%, 50%)
HSVhsv(207, 41%, 64%)
CMYKcmyk(41.4%, 18.5%, 0%, 36.5%)
CIE-LABlab(53.54, -4.89, -20.06)
CIE-LCHlch(53.54, 20.64, 256.30°)
OKLaboklab(59.73% -0.0276 -0.0555)
OKLCHoklch(59.73% 0.062 243.5)
XYZxyz(19.4900, 21.5429, 37.3066)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84A2 #A27D5F
analogous
#5FA29E #5F84A2 #5F62A2
triadic
#5F84A2 #A25F84 #84A25F
tetradic
#5F84A2 #9E5FA2 #A27D5F #62A25F
square
#5F84A2 #9E5FA2 #A27D5F #62A25F
split-complementary
#5F84A2 #A25F62 #A29E5F
monochromatic
#314555 #48657C #5F84A2 #86A2B8 #ACC0CF

Accessibility & contrast

On white

3.96
#5F84A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5F84A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84A2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84A2#FFFFFF#000000##000000
##5F84A21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A3
Deuteranopia (green-blind)
#6F7DA1
Tritanopia (blue-blind)
#468B8E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f84a2;
/* rgb */ color: rgb(95, 132, 162);
/* oklch */ color: oklch(59.7% 0.062 243.5);
Tailwind
colors: {
  custom: {
    50: '#8fa7bd',
    500: '#5f84a2',
    950: '#000000',
  },
}
SCSS
$custom: #5f84a2;
$custom-light: #8fa7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84a2",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 162
  },
  "hsl": {
    "h": 206.866,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59733,
    "c": 0.06198,
    "h": 243.5
  },
  "luminance": 0.21544
}

Semantic roles & 50–950 ramp

primary
#5F84A2
secondary
#BDAD9F
accent
#8F65C3
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0D0F12
muted
#7D7F81

Preview Lab

Preview with #5F84A2

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

Preview Lab → · Contrast checker → · Palette generator →

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