#2A2E38#2A2E38

#2A2E38 is a dark, near-neutral blue. Relative luminance 0.027; OKLCH L 30.1% C 0.019 H 268.1°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#2A2E38
RGBrgb(42, 46, 56)
HSLhsl(223, 14%, 19%)
HSVhsv(223, 25%, 22%)
CMYKcmyk(25%, 17.9%, 0%, 78%)
CIE-LABlab(18.94, 0.94, -6.96)
CIE-LCHlch(18.94, 7.02, 277.72°)
OKLaboklab(30.15% -0.0006 -0.019)
OKLCHoklch(30.15% 0.019 268.1)
XYZxyz(2.6455, 2.7317, 4.1285)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E38 #38342A
analogous
#2A3538 #2A2E38 #2D2A38
triadic
#2A2E38 #382A2E #2E382A
tetradic
#2A2E38 #382A35 #38342A #2A382D
square
#2A2E38 #382A35 #38342A #2A382D
split-complementary
#2A2E38 #382D2A #35382A
monochromatic
#0D0E11 #101115 #2A2E38 #444B5B #5E677E

Accessibility & contrast

On white

13.58
#2A2E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2A2E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E38
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E38#FFFFFF#000000##FFFFFF
##2A2E381.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2F38
Deuteranopia (green-blind)
#2A2D38
Tritanopia (blue-blind)
#273031
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a2e38;
/* rgb */ color: rgb(42, 46, 56);
/* oklch */ color: oklch(30.1% 0.019 268.1);
Tailwind
colors: {
  custom: {
    50: '#63666e',
    500: '#2a2e38',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e38;
$custom-light: #63666e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e38",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 56
  },
  "hsl": {
    "h": 222.857,
    "s": 14.286,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30148,
    "c": 0.01898,
    "h": 268.1
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#2A2E38
secondary
#686355
accent
#A371B7
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050607
muted
#797A7A

Preview Lab

Preview with #2A2E38

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

Preview Lab → · Contrast checker → · Palette generator →

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