#2F313C#2F313C

#2F313C is a dark, near-neutral blue. Relative luminance 0.031; OKLCH L 31.6% C 0.020 H 277.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#2F313C
RGBrgb(47, 49, 60)
HSLhsl(231, 12%, 21%)
HSVhsv(231, 22%, 24%)
CMYKcmyk(21.7%, 18.3%, 0%, 76.5%)
CIE-LABlab(20.55, 1.98, -7.22)
CIE-LCHlch(20.55, 7.49, 285.36°)
OKLaboklab(31.58% 0.0025 -0.0197)
OKLCHoklch(31.58% 0.02 277.1)
XYZxyz(3.0860, 3.1272, 4.7151)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F313C #3C3A2F
analogous
#2F373C #2F313C #332F3C
triadic
#2F313C #3C2F31 #313C2F
tetradic
#2F313C #3C2F37 #3C3A2F #2F3C33
square
#2F313C #3C2F37 #3C3A2F #2F3C33
split-complementary
#2F313C #3C332F #373C2F
monochromatic
#0D0E11 #14151A #2F313C #4A4D5E #656981

Accessibility & contrast

On white

12.92
#2F313C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2F313C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F313C
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F313C#FFFFFF#000000##FFFFFF
##2F313C1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E323D
Deuteranopia (green-blind)
#2D313C
Tritanopia (blue-blind)
#2C3335
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f313c;
/* rgb */ color: rgb(47, 49, 60);
/* oklch */ color: oklch(31.6% 0.020 277.1);
Tailwind
colors: {
  custom: {
    50: '#676971',
    500: '#2f313c',
    950: '#000000',
  },
}
SCSS
$custom: #2f313c;
$custom-light: #676971;
$custom-dark: #000000;
JSON
{
  "hex": "#2f313c",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 230.769,
    "s": 12.15,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31576,
    "c": 0.01981,
    "h": 277.1
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#2F313C
secondary
#6C695B
accent
#AB73B5
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #2F313C

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

Preview Lab → · Contrast checker → · Palette generator →

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