#2D2F40#2D2F40

#2D2F40 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.1% C 0.031 H 279.2°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#2D2F40
RGBrgb(45, 47, 64)
HSLhsl(234, 17%, 21%)
HSVhsv(234, 30%, 25%)
CMYKcmyk(29.7%, 26.6%, 0%, 74.9%)
CIE-LABlab(19.89, 3.75, -10.97)
CIE-LCHlch(19.89, 11.60, 288.86°)
OKLaboklab(31.07% 0.0049 -0.0302)
OKLCHoklch(31.07% 0.031 279.2)
XYZxyz(3.0239, 2.9610, 5.2617)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F40 #403E2D
analogous
#2D3940 #2D2F40 #352D40
triadic
#2D2F40 #402D2F #2F402D
tetradic
#2D2F40 #402D39 #403E2D #2D4035
square
#2D2F40 #402D39 #403E2D #2D4035
split-complementary
#2D2F40 #40352D #39402D
monochromatic
#0D0D12 #14151C #2D2F40 #464964 #606488

Accessibility & contrast

On white

13.19
#2D2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2F40
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F40#FFFFFF#000000##FFFFFF
##2D2F401.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2f40;
/* rgb */ color: rgb(45, 47, 64);
/* oklch */ color: oklch(31.1% 0.031 279.2);
Tailwind
colors: {
  custom: {
    50: '#666774',
    500: '#2d2f40',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f40;
$custom-light: #666774;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f40",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 233.684,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31074,
    "c": 0.03061,
    "h": 279.2
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#2D2F40
secondary
#716E58
accent
#B26EBA
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2D2F40

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

Preview Lab → · Contrast checker → · Palette generator →

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