#2D2B41#2D2B41

#2D2B41 is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.1% C 0.039 H 288.0°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#2D2B41
RGBrgb(45, 43, 65)
HSLhsl(245, 20%, 21%)
HSVhsv(245, 34%, 25%)
CMYKcmyk(30.8%, 33.8%, 0%, 74.5%)
CIE-LABlab(18.66, 6.85, -13.55)
CIE-LCHlch(18.66, 15.18, 296.81°)
OKLaboklab(30.14% 0.0122 -0.0375)
OKLCHoklch(30.14% 0.039 288)
XYZxyz(2.9000, 2.6672, 5.3620)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B41 #3F412B
analogous
#2B3441 #2D2B41 #382B41
triadic
#2D2B41 #412D2B #2B412D
tetradic
#2D2B41 #412B34 #3F412B #2B4138
square
#2D2B41 #412B34 #3F412B #2B4138
split-complementary
#2D2B41 #41382B #34412B
monochromatic
#0D0C12 #13131C #2D2B41 #464366 #605C8B

Accessibility & contrast

On white

13.70
#2D2B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2D2B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B41
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B41#FFFFFF#000000##FFFFFF
##2D2B411.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E42
Deuteranopia (green-blind)
#252D40
Tritanopia (blue-blind)
#282F33
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2b41;
/* rgb */ color: rgb(45, 43, 65);
/* oklch */ color: oklch(30.1% 0.039 288.0);
Tailwind
colors: {
  custom: {
    50: '#666475',
    500: '#2d2b41',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b41;
$custom-light: #666475;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b41",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 65
  },
  "hsl": {
    "h": 245.455,
    "s": 20.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30139,
    "c": 0.03945,
    "h": 288
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#2D2B41
secondary
#707256
accent
#BD6BB5
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #2D2B41

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

Preview Lab → · Contrast checker → · Palette generator →

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