#2D2A42#2D2A42

#2D2A42 is a dark, muted blue. Relative luminance 0.026; OKLCH L 30.0% C 0.043 H 289.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#2D2A42
RGBrgb(45, 42, 66)
HSLhsl(248, 22%, 21%)
HSVhsv(248, 36%, 26%)
CMYKcmyk(31.8%, 36.4%, 0%, 74.1%)
CIE-LABlab(18.40, 7.86, -14.65)
CIE-LCHlch(18.40, 16.62, 298.22°)
OKLaboklab(29.95% 0.0142 -0.0407)
OKLCHoklch(29.95% 0.043 289.3)
XYZxyz(2.8933, 2.6071, 5.5040)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A42 #3F422A
analogous
#2A3342 #2D2A42 #392A42
triadic
#2D2A42 #422D2A #2A422D
tetradic
#2D2A42 #422A33 #3F422A #2A4239
square
#2D2A42 #422A33 #3F422A #2A4239
split-complementary
#2D2A42 #42392A #33422A
monochromatic
#0D0C13 #13121D #2D2A42 #464267 #605A8D

Accessibility & contrast

On white

13.80
#2D2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2D2A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A42
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A42#FFFFFF#000000##FFFFFF
##2D2A421.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D43
Deuteranopia (green-blind)
#232C41
Tritanopia (blue-blind)
#282E33
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2a42;
/* rgb */ color: rgb(45, 42, 66);
/* oklch */ color: oklch(30.0% 0.043 289.3);
Tailwind
colors: {
  custom: {
    50: '#666376',
    500: '#2d2a42',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a42;
$custom-light: #666376;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a42",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 247.5,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29954,
    "c": 0.04307,
    "h": 289.3
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#2D2A42
secondary
#707354
accent
#BF69B4
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #2D2A42

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

Preview Lab → · Contrast checker → · Palette generator →

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