#5F8AAA#5F8AAA

#5F8AAA is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.5% C 0.068 H 241.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5F8AAA
RGBrgb(95, 138, 170)
HSLhsl(206, 31%, 52%)
HSVhsv(206, 44%, 67%)
CMYKcmyk(44.1%, 18.8%, 0%, 33.3%)
CIE-LABlab(55.59, -6.03, -21.51)
CIE-LCHlch(55.59, 22.34, 254.33°)
OKLaboklab(61.46% -0.0325 -0.0596)
OKLCHoklch(61.46% 0.068 241.4)
XYZxyz(21.0610, 23.5107, 41.4507)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8AAA #AA7F5F
analogous
#5FAAA5 #5F8AAA #5F65AA
triadic
#5F8AAA #AA5F8A #8AAA5F
tetradic
#5F8AAA #A55FAA #AA7F5F #65AA5F
square
#5F8AAA #A55FAA #AA7F5F #65AA5F
split-complementary
#5F8AAA #AA5F65 #AAA55F
monochromatic
#314B5D #476A85 #5F8AAA #87A7BF #AFC4D4

Accessibility & contrast

On white

3.68
#5F8AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5F8AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8AAA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8AAA#FFFFFF#000000##000000
##5F8AAA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAC
Deuteranopia (green-blind)
#7282A9
Tritanopia (blue-blind)
#419295
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f8aaa;
/* rgb */ color: rgb(95, 138, 170);
/* oklch */ color: oklch(61.5% 0.068 241.4);
Tailwind
colors: {
  custom: {
    50: '#90acc3',
    500: '#5f8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #5f8aaa;
$custom-light: #90acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8aaa",
  "rgb": {
    "r": 95,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 205.6,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61457,
    "c": 0.0679,
    "h": 241.4
  },
  "luminance": 0.23512
}

Semantic roles & 50–950 ramp

primary
#5F8AAA
secondary
#C3B0A2
accent
#8C61C7
background
#F9FAFC
surface
#F1F4F8
border
#CBCED1
text
#0D1012
muted
#7E7F81

Preview Lab

Preview with #5F8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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