#2F2D41#2F2D41

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

Color values

HEX#2F2D41
RGBrgb(47, 45, 65)
HSLhsl(246, 18%, 22%)
HSVhsv(246, 31%, 25%)
CMYKcmyk(27.7%, 30.8%, 0%, 74.5%)
CIE-LABlab(19.49, 6.19, -12.26)
CIE-LCHlch(19.49, 13.73, 296.78°)
OKLaboklab(30.83% 0.0114 -0.0338)
OKLCHoklch(30.83% 0.036 288.7)
XYZxyz(3.0646, 2.8627, 5.3911)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D41 #3F412D
analogous
#2D3541 #2F2D41 #392D41
triadic
#2F2D41 #412F2D #2D412F
tetradic
#2F2D41 #412D35 #3F412D #2D4139
square
#2F2D41 #412D35 #3F412D #2D4139
split-complementary
#2F2D41 #41392D #35412D
monochromatic
#0D0D12 #15141D #2F2D41 #494665 #635F89

Accessibility & contrast

On white

13.35
#2F2D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D41
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D41#FFFFFF#000000##FFFFFF
##2F2D411.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2d41;
/* rgb */ color: rgb(47, 45, 65);
/* oklch */ color: oklch(30.8% 0.036 288.7);
Tailwind
colors: {
  custom: {
    50: '#686575',
    500: '#2f2d41',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d41;
$custom-light: #686575;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d41",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 65
  },
  "hsl": {
    "h": 246,
    "s": 18.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30826,
    "c": 0.03569,
    "h": 288.7
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#2F2D41
secondary
#6F7258
accent
#BB6DB3
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060508
muted
#7A7A7B

Preview Lab

Preview with #2F2D41

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

Preview Lab → · Contrast checker → · Palette generator →

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