#2A2A34#2A2A34

#2A2A34 is a dark, near-neutral blue. Relative luminance 0.024; OKLCH L 28.9% C 0.018 H 285.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#2A2A34
RGBrgb(42, 42, 52)
HSLhsl(240, 11%, 18%)
HSVhsv(240, 19%, 20%)
CMYKcmyk(19.2%, 19.2%, 0%, 79.6%)
CIE-LABlab(17.44, 2.59, -6.44)
CIE-LCHlch(17.44, 6.94, 291.93°)
OKLaboklab(28.93% 0.0048 -0.0175)
OKLCHoklch(28.93% 0.018 285.2)
XYZxyz(2.4025, 2.3961, 3.5841)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A34 #34342A
analogous
#2A2F34 #2A2A34 #2F2A34
triadic
#2A2A34 #342A2A #2A342A
tetradic
#2A2A34 #342A2F #34342A #2A342F
square
#2A2A34 #342A2F #34342A #2A342F
split-complementary
#2A2A34 #342F2A #2F342A
monochromatic
#0E0E11 #0F0F12 #2A2A34 #454556 #616178

Accessibility & contrast

On white

14.20
#2A2A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2A2A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A34
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A34#FFFFFF#000000##FFFFFF
##2A2A341.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B34
Deuteranopia (green-blind)
#272B34
Tritanopia (blue-blind)
#282C2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2a34;
/* rgb */ color: rgb(42, 42, 52);
/* oklch */ color: oklch(28.9% 0.018 285.2);
Tailwind
colors: {
  custom: {
    50: '#63636b',
    500: '#2a2a34',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a34;
$custom-light: #63636b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a34",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 52
  },
  "hsl": {
    "h": 240,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28925,
    "c": 0.01813,
    "h": 285.2
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#2A2A34
secondary
#646456
accent
#B474B4
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #2A2A34

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

Preview Lab → · Contrast checker → · Palette generator →

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