#2F313E#2F313E

#2F313E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.7% C 0.023 H 278.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2F313E
RGBrgb(47, 49, 62)
HSLhsl(232, 14%, 21%)
HSVhsv(232, 24%, 24%)
CMYKcmyk(24.2%, 21%, 0%, 75.7%)
CIE-LABlab(20.63, 2.55, -8.46)
CIE-LCHlch(20.63, 8.83, 286.75°)
OKLaboklab(31.67% 0.0033 -0.0231)
OKLCHoklch(31.67% 0.023 278.1)
XYZxyz(3.1399, 3.1487, 4.9988)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F313E #3E3C2F
analogous
#2F393E #2F313E #352F3E
triadic
#2F313E #3E2F31 #313E2F
tetradic
#2F313E #3E2F39 #3E3C2F #2F3E35
square
#2F313E #3E2F39 #3E3C2F #2F3E35
split-complementary
#2F313E #3E352F #393E2F
monochromatic
#0D0E11 #15151B #2F313E #494D61 #646884

Accessibility & contrast

On white

12.89
#2F313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F313E
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F313E#FFFFFF#000000##FFFFFF
##2F313E1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f313e;
/* rgb */ color: rgb(47, 49, 62);
/* oklch */ color: oklch(31.7% 0.023 278.1);
Tailwind
colors: {
  custom: {
    50: '#676973',
    500: '#2f313e',
    950: '#000000',
  },
}
SCSS
$custom: #2f313e;
$custom-light: #676973;
$custom-dark: #000000;
JSON
{
  "hex": "#2f313e",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 232,
    "s": 13.761,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3167,
    "c": 0.02334,
    "h": 278.1
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#2F313E
secondary
#6E6B5B
accent
#AD71B7
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2F313E

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

Preview Lab → · Contrast checker → · Palette generator →

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