#2A2E35#2A2E35

#2A2E35 is a dark, near-neutral blue. Relative luminance 0.027; OKLCH L 30.0% C 0.014 H 261.7°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#2A2E35
RGBrgb(42, 46, 53)
HSLhsl(218, 12%, 19%)
HSVhsv(218, 21%, 21%)
CMYKcmyk(20.8%, 13.2%, 0%, 79.2%)
CIE-LABlab(18.81, 0.10, -5.07)
CIE-LCHlch(18.81, 5.07, 271.10°)
OKLaboklab(30.01% -0.002 -0.0137)
OKLCHoklch(30.01% 0.014 261.7)
XYZxyz(2.5743, 2.7032, 3.7536)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E35 #35312A
analogous
#2A3335 #2A2E35 #2B2A35
triadic
#2A2E35 #352A2E #2E352A
tetradic
#2A2E35 #352A33 #35312A #2A352B
square
#2A2E35 #352A33 #35312A #2A352B
split-complementary
#2A2E35 #352B2A #33352A
monochromatic
#0E0F11 #0F1013 #2A2E35 #454C57 #606979

Accessibility & contrast

On white

13.63
#2A2E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2A2E35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E35
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E35#FFFFFF#000000##FFFFFF
##2A2E351.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2E35
Deuteranopia (green-blind)
#2B2D35
Tritanopia (blue-blind)
#272F30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a2e35;
/* rgb */ color: rgb(42, 46, 53);
/* oklch */ color: oklch(30.0% 0.014 261.7);
Tailwind
colors: {
  custom: {
    50: '#63666c',
    500: '#2a2e35',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e35;
$custom-light: #63666c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e35",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 53
  },
  "hsl": {
    "h": 218.182,
    "s": 11.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30012,
    "c": 0.01388,
    "h": 261.7
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#2A2E35
secondary
#655F56
accent
#9D73B4
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #2A2E35

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

Preview Lab → · Contrast checker → · Palette generator →

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