#2F2D40#2F2D40

#2F2D40 is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.8% C 0.034 H 289.1°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#2F2D40
RGBrgb(47, 45, 64)
HSLhsl(246, 17%, 21%)
HSVhsv(246, 30%, 25%)
CMYKcmyk(26.6%, 29.7%, 0%, 74.9%)
CIE-LABlab(19.44, 5.89, -11.65)
CIE-LCHlch(19.44, 13.05, 296.84°)
OKLaboklab(30.77% 0.0111 -0.0321)
OKLCHoklch(30.77% 0.034 289.1)
XYZxyz(3.0359, 2.8512, 5.2399)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D40 #3E402D
analogous
#2D3540 #2F2D40 #392D40
triadic
#2F2D40 #402F2D #2D402F
tetradic
#2F2D40 #402D35 #3E402D #2D4039
square
#2F2D40 #402D35 #3E402D #2D4039
split-complementary
#2F2D40 #40392D #35402D
monochromatic
#0D0D12 #15141C #2F2D40 #494664 #646088

Accessibility & contrast

On white

13.37
#2F2D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D40
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D40#FFFFFF#000000##FFFFFF
##2F2D401.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F41
Deuteranopia (green-blind)
#282F3F
Tritanopia (blue-blind)
#2B3034
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f2d40;
/* rgb */ color: rgb(47, 45, 64);
/* oklch */ color: oklch(30.8% 0.034 289.1);
Tailwind
colors: {
  custom: {
    50: '#686574',
    500: '#2f2d40',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d40;
$custom-light: #686574;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d40",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 64
  },
  "hsl": {
    "h": 246.316,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30773,
    "c": 0.03393,
    "h": 289.1
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#2F2D40
secondary
#6E7158
accent
#BA6EB2
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060508
muted
#7A7A7B

Preview Lab

Preview with #2F2D40

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

Preview Lab → · Contrast checker → · Palette generator →

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