#2D313D#2D313D

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

Color values

HEX#2D313D
RGBrgb(45, 49, 61)
HSLhsl(225, 15%, 21%)
HSVhsv(225, 26%, 24%)
CMYKcmyk(26.2%, 19.7%, 0%, 76.1%)
CIE-LABlab(20.41, 1.49, -8.13)
CIE-LCHlch(20.41, 8.27, 280.36°)
OKLaboklab(31.44% 0.0002 -0.0222)
OKLCHoklch(31.44% 0.022 270.6)
XYZxyz(3.0226, 3.0914, 4.8514)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D313D #3D392D
analogous
#2D393D #2D313D #312D3D
triadic
#2D313D #3D2D31 #313D2D
tetradic
#2D313D #3D2D39 #3D392D #2D3D31
square
#2D313D #3D2D39 #3D392D #2D3D31
split-complementary
#2D313D #3D312D #393D2D
monochromatic
#0D0E12 #13151A #2D313D #474D60 #616A83

Accessibility & contrast

On white

12.98
#2D313D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D313D
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D313D#FFFFFF#000000##FFFFFF
##2D313D1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d313d;
/* rgb */ color: rgb(45, 49, 61);
/* oklch */ color: oklch(31.4% 0.022 270.6);
Tailwind
colors: {
  custom: {
    50: '#666972',
    500: '#2d313d',
    950: '#000000',
  },
}
SCSS
$custom: #2d313d;
$custom-light: #666972;
$custom-dark: #000000;
JSON
{
  "hex": "#2d313d",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 225,
    "s": 15.094,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31435,
    "c": 0.02223,
    "h": 270.6
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#2D313D
secondary
#6D6858
accent
#A670B8
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2D313D

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

Preview Lab → · Contrast checker → · Palette generator →

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