#5F8FAC#5F8FAC

#5F8FAC is a light, moderate cyan. Relative luminance 0.251; OKLCH L 62.7% C 0.068 H 235.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5F8FAC
RGBrgb(95, 143, 172)
HSLhsl(203, 32%, 52%)
HSVhsv(203, 45%, 67%)
CMYKcmyk(44.8%, 16.9%, 0%, 32.5%)
CIE-LABlab(57.13, -8.28, -20.31)
CIE-LCHlch(57.13, 21.93, 247.81°)
OKLaboklab(62.7% -0.0381 -0.0562)
OKLCHoklch(62.7% 0.068 235.9)
XYZxyz(21.9856, 25.0549, 42.6993)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8FAC #AC7C5F
analogous
#5FACA2 #5F8FAC #5F69AC
triadic
#5F8FAC #AC5F8F #8FAC5F
tetradic
#5F8FAC #A25FAC #AC7C5F #69AC5F
square
#5F8FAC #A25FAC #AC7C5F #69AC5F
split-complementary
#5F8FAC #AC5F69 #ACA25F
monochromatic
#314E5F #466F88 #5F8FAC #87ABC1 #B0C7D6

Accessibility & contrast

On white

3.49
#5F8FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5F8FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8FAC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8FAC#FFFFFF#000000##000000
##5F8FAC1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#828EAD
Deuteranopia (green-blind)
#7785AC
Tritanopia (blue-blind)
#3E9798
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f8fac;
/* rgb */ color: rgb(95, 143, 172);
/* oklch */ color: oklch(62.7% 0.068 235.9);
Tailwind
colors: {
  custom: {
    50: '#90afc4',
    500: '#5f8fac',
    950: '#000000',
  },
}
SCSS
$custom: #5f8fac;
$custom-light: #90afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8fac",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 202.597,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62696,
    "c": 0.06789,
    "h": 235.9
  },
  "luminance": 0.25056
}

Semantic roles & 50–950 ramp

primary
#5F8FAC
secondary
#C4AFA3
accent
#8760C8
background
#F9FAFC
surface
#F1F4F8
border
#CBCED1
text
#0D1012
muted
#7E7F81

Preview Lab

Preview with #5F8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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