#2D313E#2D313E

#2D313E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.5% C 0.024 H 271.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#2D313E
RGBrgb(45, 49, 62)
HSLhsl(226, 16%, 21%)
HSVhsv(226, 27%, 24%)
CMYKcmyk(27.4%, 21%, 0%, 75.7%)
CIE-LABlab(20.45, 1.78, -8.75)
CIE-LCHlch(20.45, 8.93, 281.48°)
OKLaboklab(31.48% 0.0007 -0.024)
OKLCHoklch(31.48% 0.024 271.6)
XYZxyz(3.0498, 3.1022, 4.9946)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D313E #3E3A2D
analogous
#2D393E #2D313E #312D3E
triadic
#2D313E #3E2D31 #313E2D
tetradic
#2D313E #3E2D39 #3E3A2D #2D3E31
square
#2D313E #3E2D39 #3E3A2D #2D3E31
split-complementary
#2D313E #3E312D #393E2D
monochromatic
#0D0E12 #13151B #2D313E #474D61 #606985

Accessibility & contrast

On white

12.96
#2D313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D313E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D313E#FFFFFF#000000##FFFFFF
##2D313E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d313e;
/* rgb */ color: rgb(45, 49, 62);
/* oklch */ color: oklch(31.5% 0.024 271.6);
Tailwind
colors: {
  custom: {
    50: '#666973',
    500: '#2d313e',
    950: '#000000',
  },
}
SCSS
$custom: #2d313e;
$custom-light: #666973;
$custom-dark: #000000;
JSON
{
  "hex": "#2d313e",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 225.882,
    "s": 15.888,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31483,
    "c": 0.02397,
    "h": 271.6
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#2D313E
secondary
#6E6958
accent
#A76FB9
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2D313E

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

Preview Lab → · Contrast checker → · Palette generator →

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