#2F2F46#2F2F46

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

Color values

HEX#2F2F46
RGBrgb(47, 47, 70)
HSLhsl(240, 20%, 23%)
HSVhsv(240, 33%, 27%)
CMYKcmyk(32.9%, 32.9%, 0%, 72.5%)
CIE-LABlab(20.36, 6.29, -14.31)
CIE-LCHlch(20.36, 15.64, 293.74°)
OKLaboklab(31.58% 0.0098 -0.0397)
OKLCHoklch(31.58% 0.041 283.8)
XYZxyz(3.2940, 3.0795, 6.2140)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F46 #46462F
analogous
#2F3A46 #2F2F46 #3A2F46
triadic
#2F2F46 #462F2F #2F462F
tetradic
#2F2F46 #462F3A #46462F #2F463A
square
#2F2F46 #462F3A #46462F #2F463A
split-complementary
#2F2F46 #463A2F #3A462F
monochromatic
#0C0C12 #161621 #2F2F46 #48486B #60608F

Accessibility & contrast

On white

13.00
#2F2F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2F2F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F46
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F46#FFFFFF#000000##FFFFFF
##2F2F461.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293247
Deuteranopia (green-blind)
#283045
Tritanopia (blue-blind)
#293337
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f2f46;
/* rgb */ color: rgb(47, 47, 70);
/* oklch */ color: oklch(31.6% 0.041 283.8);
Tailwind
colors: {
  custom: {
    50: '#686779',
    500: '#2f2f46',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f46;
$custom-light: #686779;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f46",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 70
  },
  "hsl": {
    "h": 240,
    "s": 19.658,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31581,
    "c": 0.04086,
    "h": 283.8
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#2F2F46
secondary
#77775A
accent
#BC6CBC
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2F2F46

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

Preview Lab → · Contrast checker → · Palette generator →

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