#2F2E36#2F2E36

#2F2E36 is a dark, near-neutral blue. Relative luminance 0.028; OKLCH L 30.5% C 0.014 H 291.3°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#2F2E36
RGBrgb(47, 46, 54)
HSLhsl(248, 8%, 20%)
HSVhsv(248, 15%, 21%)
CMYKcmyk(13%, 14.8%, 0%, 78.8%)
CIE-LABlab(19.33, 2.42, -4.94)
CIE-LCHlch(19.33, 5.50, 296.13°)
OKLaboklab(30.55% 0.0052 -0.0133)
OKLCHoklch(30.55% 0.014 291.3)
XYZxyz(2.8150, 2.8247, 3.8862)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E36 #35362E
analogous
#2E3136 #2F2E36 #332E36
triadic
#2F2E36 #362F2E #2E362F
tetradic
#2F2E36 #362E31 #35362E #2E3633
square
#2F2E36 #362E31 #35362E #2E3633
split-complementary
#2F2E36 #36332E #31362E
monochromatic
#0E0E11 #121215 #2F2E36 #4C4A57 #696678

Accessibility & contrast

On white

13.42
#2F2E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2F2E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E36
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E36#FFFFFF#000000##FFFFFF
##2F2E361.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2F36
Deuteranopia (green-blind)
#2C2F36
Tritanopia (blue-blind)
#2E2F31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f2e36;
/* rgb */ color: rgb(47, 46, 54);
/* oklch */ color: oklch(30.5% 0.014 291.3);
Tailwind
colors: {
  custom: {
    50: '#67666d',
    500: '#2f2e36',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e36;
$custom-light: #67666d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e36",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 54
  },
  "hsl": {
    "h": 247.5,
    "s": 8,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30545,
    "c": 0.0143,
    "h": 291.3
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#2F2E36
secondary
#64655B
accent
#B177AA
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #2F2E36

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

Preview Lab → · Contrast checker → · Palette generator →

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