#2F474F#2F474F

#2F474F is a dark, muted cyan. Relative luminance 0.057; OKLCH L 38.2% C 0.033 H 220.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2F474F
RGBrgb(47, 71, 79)
HSLhsl(195, 25%, 25%)
HSVhsv(195, 41%, 31%)
CMYKcmyk(40.5%, 10.1%, 0%, 69%)
CIE-LABlab(28.58, -6.86, -7.73)
CIE-LCHlch(28.58, 10.33, 228.38°)
OKLaboklab(38.16% -0.0246 -0.0212)
OKLCHoklch(38.16% 0.033 220.7)
XYZxyz(4.8363, 5.6750, 8.2362)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F474F #4F372F
analogous
#2F4F47 #2F474F #2F374F
triadic
#2F474F #4F2F47 #474F2F
tetradic
#2F474F #472F4F #4F372F #374F2F
square
#2F474F #472F4F #4F372F #374F2F
split-complementary
#2F474F #4F2F37 #4F472F
monochromatic
#0B1113 #182529 #2F474F #466975 #5D8C9C

Accessibility & contrast

On white

9.84
#2F474F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F474F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F474F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F474F#FFFFFF#000000##FFFFFF
##2F474F1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42464F
Deuteranopia (green-blind)
#3D424F
Tritanopia (blue-blind)
#234A49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f474f;
/* rgb */ color: rgb(47, 71, 79);
/* oklch */ color: oklch(38.2% 0.033 220.7);
Tailwind
colors: {
  custom: {
    50: '#697a80',
    500: '#2f474f',
    950: '#000000',
  },
}
SCSS
$custom: #2f474f;
$custom-light: #697a80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f474f",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 79
  },
  "hsl": {
    "h": 195,
    "s": 25.397,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3816,
    "c": 0.0325,
    "h": 220.7
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#2F474F
secondary
#80635A
accent
#7D66C2
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06090A
muted
#7A7B7C

Preview Lab

Preview with #2F474F

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

Preview Lab → · Contrast checker → · Palette generator →

#2F474F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva