#2D3142#2D3142

#2D3142 is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.7% C 0.031 H 274.2°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2D3142
RGBrgb(45, 49, 66)
HSLhsl(229, 19%, 22%)
HSVhsv(229, 32%, 26%)
CMYKcmyk(31.8%, 25.8%, 0%, 74.1%)
CIE-LABlab(20.63, 2.96, -11.20)
CIE-LCHlch(20.63, 11.59, 284.82°)
OKLaboklab(31.68% 0.0023 -0.0309)
OKLCHoklch(31.68% 0.031 274.2)
XYZxyz(3.1636, 3.1478, 5.5941)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3142 #423E2D
analogous
#2D3C42 #2D3142 #342D42
triadic
#2D3142 #422D31 #31422D
tetradic
#2D3142 #422D3C #423E2D #2D4234
square
#2D3142 #422D3C #423E2D #2D4234
split-complementary
#2D3142 #42342D #3C422D
monochromatic
#0C0E12 #14161E #2D3142 #464C66 #5F678B

Accessibility & contrast

On white

12.89
#2D3142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D3142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3142
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3142#FFFFFF#000000##FFFFFF
##2D31421.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3343
Deuteranopia (green-blind)
#2B3142
Tritanopia (blue-blind)
#283437
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d3142;
/* rgb */ color: rgb(45, 49, 66);
/* oklch */ color: oklch(31.7% 0.031 274.2);
Tailwind
colors: {
  custom: {
    50: '#666976',
    500: '#2d3142',
    950: '#000000',
  },
}
SCSS
$custom: #2d3142;
$custom-light: #666976;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3142",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 66
  },
  "hsl": {
    "h": 228.571,
    "s": 18.919,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3168,
    "c": 0.03094,
    "h": 274.2
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#2D3142
secondary
#736E58
accent
#AC6CBC
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2D3142

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

Preview Lab → · Contrast checker → · Palette generator →

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