#2F313F#2F313F

#2F313F is a dark, muted blue. Relative luminance 0.032; OKLCH L 31.7% C 0.025 H 278.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#2F313F
RGBrgb(47, 49, 63)
HSLhsl(233, 15%, 22%)
HSVhsv(233, 25%, 25%)
CMYKcmyk(25.4%, 22.2%, 0%, 75.3%)
CIE-LABlab(20.67, 2.83, -9.08)
CIE-LCHlch(20.67, 9.51, 287.33°)
OKLaboklab(31.72% 0.0037 -0.0248)
OKLCHoklch(31.72% 0.025 278.5)
XYZxyz(3.1676, 3.1598, 5.1447)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F313F #3F3D2F
analogous
#2F393F #2F313F #352F3F
triadic
#2F313F #3F2F31 #313F2F
tetradic
#2F313F #3F2F39 #3F3D2F #2F3F35
square
#2F313F #3F2F39 #3F3D2F #2F3F35
split-complementary
#2F313F #3F352F #393F2F
monochromatic
#0D0E12 #15161C #2F313F #494C62 #636885

Accessibility & contrast

On white

12.87
#2F313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F313F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F313F#FFFFFF#000000##FFFFFF
##2F313F1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3240
Deuteranopia (green-blind)
#2C313F
Tritanopia (blue-blind)
#2B3336
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f313f;
/* rgb */ color: rgb(47, 49, 63);
/* oklch */ color: oklch(31.7% 0.025 278.5);
Tailwind
colors: {
  custom: {
    50: '#676974',
    500: '#2f313f',
    950: '#000000',
  },
}
SCSS
$custom: #2f313f;
$custom-light: #676974;
$custom-dark: #000000;
JSON
{
  "hex": "#2f313f",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 232.5,
    "s": 14.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31717,
    "c": 0.02511,
    "h": 278.5
  },
  "luminance": 0.0316
}

Semantic roles & 50–950 ramp

primary
#2F313F
secondary
#6F6D5B
accent
#AE70B7
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2F313F

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

Preview Lab → · Contrast checker → · Palette generator →

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