#2F313D#2F313D

#2F313D is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.6% C 0.022 H 277.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#2F313D
RGBrgb(47, 49, 61)
HSLhsl(231, 13%, 21%)
HSVhsv(231, 23%, 24%)
CMYKcmyk(23%, 19.7%, 0%, 76.1%)
CIE-LABlab(20.59, 2.26, -7.84)
CIE-LCHlch(20.59, 8.16, 286.11°)
OKLaboklab(31.62% 0.0029 -0.0214)
OKLCHoklch(31.62% 0.022 277.7)
XYZxyz(3.1127, 3.1378, 4.8556)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F313D #3D3B2F
analogous
#2F383D #2F313D #342F3D
triadic
#2F313D #3D2F31 #313D2F
tetradic
#2F313D #3D2F38 #3D3B2F #2F3D34
square
#2F313D #3D2F38 #3D3B2F #2F3D34
split-complementary
#2F313D #3D342F #383D2F
monochromatic
#0D0E11 #14151A #2F313D #4A4D60 #646982

Accessibility & contrast

On white

12.90
#2F313D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F313D
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F313D#FFFFFF#000000##FFFFFF
##2F313D1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E323E
Deuteranopia (green-blind)
#2D313D
Tritanopia (blue-blind)
#2C3335
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f313d;
/* rgb */ color: rgb(47, 49, 61);
/* oklch */ color: oklch(31.6% 0.022 277.7);
Tailwind
colors: {
  custom: {
    50: '#676972',
    500: '#2f313d',
    950: '#000000',
  },
}
SCSS
$custom: #2f313d;
$custom-light: #676972;
$custom-dark: #000000;
JSON
{
  "hex": "#2f313d",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 231.429,
    "s": 12.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31623,
    "c": 0.02157,
    "h": 277.7
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#2F313D
secondary
#6D6A5B
accent
#AC72B6
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2F313D

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

Preview Lab → · Contrast checker → · Palette generator →

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