#2D313B#2D313B

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

Color values

HEX#2D313B
RGBrgb(45, 49, 59)
HSLhsl(223, 13%, 20%)
HSVhsv(223, 24%, 23%)
CMYKcmyk(23.7%, 16.9%, 0%, 76.9%)
CIE-LABlab(20.32, 0.92, -6.89)
CIE-LCHlch(20.32, 6.96, 277.57°)
OKLaboklab(31.34% -0.0006 -0.0188)
OKLCHoklch(31.34% 0.019 268.1)
XYZxyz(2.9697, 3.0702, 4.5730)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D313B #3B372D
analogous
#2D383B #2D313B #302D3B
triadic
#2D313B #3B2D31 #313B2D
tetradic
#2D313B #3B2D38 #3B372D #2D3B30
square
#2D313B #3B2D38 #3B372D #2D3B30
split-complementary
#2D313B #3B302D #383B2D
monochromatic
#0D0E11 #131418 #2D313B #474E5E #626B80

Accessibility & contrast

On white

13.01
#2D313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D313B
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D313B#FFFFFF#000000##FFFFFF
##2D313B1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d313b;
/* rgb */ color: rgb(45, 49, 59);
/* oklch */ color: oklch(31.3% 0.019 268.1);
Tailwind
colors: {
  custom: {
    50: '#666970',
    500: '#2d313b',
    950: '#000000',
  },
}
SCSS
$custom: #2d313b;
$custom-light: #666970;
$custom-dark: #000000;
JSON
{
  "hex": "#2d313b",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 222.857,
    "s": 13.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31343,
    "c": 0.01878,
    "h": 268.1
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#2D313B
secondary
#6B6659
accent
#A372B6
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#050607
muted
#7A7A7A

Preview Lab

Preview with #2D313B

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

Preview Lab → · Contrast checker → · Palette generator →

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