#2D313A#2D313A

#2D313A is a dark, near-neutral blue. Relative luminance 0.031; OKLCH L 31.3% C 0.017 H 266.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#2D313A
RGBrgb(45, 49, 58)
HSLhsl(222, 13%, 20%)
HSVhsv(222, 22%, 23%)
CMYKcmyk(22.4%, 15.5%, 0%, 77.3%)
CIE-LABlab(20.28, 0.64, -6.27)
CIE-LCHlch(20.28, 6.30, 275.79°)
OKLaboklab(31.3% -0.0011 -0.017)
OKLCHoklch(31.3% 0.017 266.4)
XYZxyz(2.9440, 3.0599, 4.4377)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D313A #3A362D
analogous
#2D373A #2D313A #2F2D3A
triadic
#2D313A #3A2D31 #313A2D
tetradic
#2D313A #3A2D37 #3A362D #2D3A2F
square
#2D313A #3A2D37 #3A362D #2D3A2F
split-complementary
#2D313A #3A2F2D #373A2D
monochromatic
#0D0F11 #121418 #2D313A #484E5C #626B7F

Accessibility & contrast

On white

13.03
#2D313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2D313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D313A
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D313A#FFFFFF#000000##FFFFFF
##2D313A1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E323A
Deuteranopia (green-blind)
#2D303A
Tritanopia (blue-blind)
#2A3334
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d313a;
/* rgb */ color: rgb(45, 49, 58);
/* oklch */ color: oklch(31.3% 0.017 266.4);
Tailwind
colors: {
  custom: {
    50: '#666970',
    500: '#2d313a',
    950: '#000000',
  },
}
SCSS
$custom: #2d313a;
$custom-light: #666970;
$custom-dark: #000000;
JSON
{
  "hex": "#2d313a",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 221.538,
    "s": 12.621,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31297,
    "c": 0.01708,
    "h": 266.4
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#2D313A
secondary
#6A6559
accent
#A172B5
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#050607
muted
#7A7A7A

Preview Lab

Preview with #2D313A

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

Preview Lab → · Contrast checker → · Palette generator →

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