#2F3142#2F3142

#2F3142 is a dark, muted blue. Relative luminance 0.032; OKLCH L 31.9% C 0.030 H 279.3°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#2F3142
RGBrgb(47, 49, 66)
HSLhsl(234, 17%, 22%)
HSVhsv(234, 29%, 26%)
CMYKcmyk(28.8%, 25.8%, 0%, 74.1%)
CIE-LABlab(20.81, 3.70, -10.91)
CIE-LCHlch(20.81, 11.52, 288.75°)
OKLaboklab(31.87% 0.0049 -0.03)
OKLCHoklch(31.87% 0.03 279.3)
XYZxyz(3.2537, 3.1942, 5.5983)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3142 #42402F
analogous
#2F3B42 #2F3142 #372F42
triadic
#2F3142 #422F31 #31422F
tetradic
#2F3142 #422F3B #42402F #2F4237
square
#2F3142 #422F3B #42402F #2F4237
split-complementary
#2F3142 #42372F #3B422F
monochromatic
#0D0D12 #16161E #2F3142 #484C66 #626689

Accessibility & contrast

On white

12.81
#2F3142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2F3142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3142
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3142#FFFFFF#000000##FFFFFF
##2F31421.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3343
Deuteranopia (green-blind)
#2B3142
Tritanopia (blue-blind)
#2A3437
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3142;
/* rgb */ color: rgb(47, 49, 66);
/* oklch */ color: oklch(31.9% 0.030 279.3);
Tailwind
colors: {
  custom: {
    50: '#686976',
    500: '#2f3142',
    950: '#000000',
  },
}
SCSS
$custom: #2f3142;
$custom-light: #686976;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3142",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 66
  },
  "hsl": {
    "h": 233.684,
    "s": 16.814,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31865,
    "c": 0.03041,
    "h": 279.3
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#2F3142
secondary
#72705A
accent
#B26EBA
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2F3142

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

Preview Lab → · Contrast checker → · Palette generator →

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