#2F2E40#2F2E40

#2F2E40 is a dark, muted blue. Relative luminance 0.029; OKLCH L 31.0% C 0.032 H 286.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#2F2E40
RGBrgb(47, 46, 64)
HSLhsl(243, 16%, 22%)
HSVhsv(243, 28%, 25%)
CMYKcmyk(26.6%, 28.1%, 0%, 74.9%)
CIE-LABlab(19.75, 5.20, -11.16)
CIE-LCHlch(19.75, 12.31, 294.97°)
OKLaboklab(31.02% 0.0093 -0.0307)
OKLCHoklch(31.02% 0.032 286.9)
XYZxyz(3.0745, 2.9284, 5.2528)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E40 #3F402E
analogous
#2E3640 #2F2E40 #382E40
triadic
#2F2E40 #402F2E #2E402F
tetradic
#2F2E40 #402E36 #3F402E #2E4038
square
#2F2E40 #402E36 #3F402E #2E4038
split-complementary
#2F2E40 #40382E #36402E
monochromatic
#0D0D12 #15141C #2F2E40 #494864 #636187

Accessibility & contrast

On white

13.24
#2F2E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2F2E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E40
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E40#FFFFFF#000000##FFFFFF
##2F2E401.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#292F40
Tritanopia (blue-blind)
#2B3134
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f2e40;
/* rgb */ color: rgb(47, 46, 64);
/* oklch */ color: oklch(31.0% 0.032 286.9);
Tailwind
colors: {
  custom: {
    50: '#686674',
    500: '#2f2e40',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e40;
$custom-light: #686674;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e40",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 243.333,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31019,
    "c": 0.03208,
    "h": 286.9
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#2F2E40
secondary
#6F7059
accent
#B96FB5
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2F2E40

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

Preview Lab → · Contrast checker → · Palette generator →

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