#2D313C#2D313C

#2D313C is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.4% C 0.021 H 269.5°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#2D313C
RGBrgb(45, 49, 60)
HSLhsl(224, 14%, 21%)
HSVhsv(224, 25%, 24%)
CMYKcmyk(25%, 18.3%, 0%, 76.5%)
CIE-LABlab(20.36, 1.20, -7.51)
CIE-LCHlch(20.36, 7.61, 279.07°)
OKLaboklab(31.39% -0.0002 -0.0205)
OKLCHoklch(31.39% 0.021 269.5)
XYZxyz(2.9959, 3.0807, 4.7109)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D313C #3C382D
analogous
#2D383C #2D313C #302D3C
triadic
#2D313C #3C2D31 #313C2D
tetradic
#2D313C #3C2D38 #3C382D #2D3C30
square
#2D313C #3C2D38 #3C382D #2D3C30
split-complementary
#2D313C #3C302D #383C2D
monochromatic
#0D0E11 #131419 #2D313C #474E5F #616A82

Accessibility & contrast

On white

12.99
#2D313C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D313C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D313C
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D313C#FFFFFF#000000##FFFFFF
##2D313C1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E323D
Deuteranopia (green-blind)
#2D313C
Tritanopia (blue-blind)
#293335
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d313c;
/* rgb */ color: rgb(45, 49, 60);
/* oklch */ color: oklch(31.4% 0.021 269.5);
Tailwind
colors: {
  custom: {
    50: '#666971',
    500: '#2d313c',
    950: '#000000',
  },
}
SCSS
$custom: #2d313c;
$custom-light: #666971;
$custom-dark: #000000;
JSON
{
  "hex": "#2d313c",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 224,
    "s": 14.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31389,
    "c": 0.0205,
    "h": 269.5
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#2D313C
secondary
#6C6759
accent
#A471B7
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #2D313C

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

Preview Lab → · Contrast checker → · Palette generator →

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