#2D2D40#2D2D40

#2D2D40 is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.6% C 0.034 H 284.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#2D2D40
RGBrgb(45, 45, 64)
HSLhsl(240, 17%, 21%)
HSVhsv(240, 30%, 25%)
CMYKcmyk(29.7%, 29.7%, 0%, 74.9%)
CIE-LABlab(19.24, 5.14, -11.96)
CIE-LCHlch(19.24, 13.02, 293.26°)
OKLaboklab(30.58% 0.0084 -0.033)
OKLCHoklch(30.58% 0.034 284.2)
XYZxyz(2.9458, 2.8048, 5.2357)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D40 #40402D
analogous
#2D3740 #2D2D40 #372D40
triadic
#2D2D40 #402D2D #2D402D
tetradic
#2D2D40 #402D37 #40402D #2D4037
square
#2D2D40 #402D37 #40402D #2D4037
split-complementary
#2D2D40 #40372D #37402D
monochromatic
#0D0D12 #14141C #2D2D40 #464664 #606088

Accessibility & contrast

On white

13.45
#2D2D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2D2D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D40
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D40#FFFFFF#000000##FFFFFF
##2D2D401.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F41
Deuteranopia (green-blind)
#272E40
Tritanopia (blue-blind)
#293034
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d2d40;
/* rgb */ color: rgb(45, 45, 64);
/* oklch */ color: oklch(30.6% 0.034 284.2);
Tailwind
colors: {
  custom: {
    50: '#666574',
    500: '#2d2d40',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d40;
$custom-light: #666574;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d40",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 64
  },
  "hsl": {
    "h": 240,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30576,
    "c": 0.03404,
    "h": 284.2
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#2D2D40
secondary
#717158
accent
#BA6EBA
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060508
muted
#7A7A7B

Preview Lab

Preview with #2D2D40

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

Preview Lab → · Contrast checker → · Palette generator →

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