#2A2E36#2A2E36

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

Color values

HEX#2A2E36
RGBrgb(42, 46, 54)
HSLhsl(220, 13%, 19%)
HSVhsv(220, 22%, 21%)
CMYKcmyk(22.2%, 14.8%, 0%, 78.8%)
CIE-LABlab(18.85, 0.37, -5.70)
CIE-LCHlch(18.85, 5.71, 273.76°)
OKLaboklab(30.06% -0.0015 -0.0155)
OKLCHoklch(30.06% 0.016 264.3)
XYZxyz(2.5975, 2.7125, 3.8760)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E36 #36322A
analogous
#2A3436 #2A2E36 #2C2A36
triadic
#2A2E36 #362A2E #2E362A
tetradic
#2A2E36 #362A34 #36322A #2A362C
square
#2A2E36 #362A34 #36322A #2A362C
split-complementary
#2A2E36 #362C2A #34362A
monochromatic
#0D0F11 #0F1114 #2A2E36 #454B58 #60697B

Accessibility & contrast

On white

13.61
#2A2E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E36
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E36#FFFFFF#000000##FFFFFF
##2A2E361.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2e36;
/* rgb */ color: rgb(42, 46, 54);
/* oklch */ color: oklch(30.1% 0.016 264.3);
Tailwind
colors: {
  custom: {
    50: '#63666d',
    500: '#2a2e36',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e36;
$custom-light: #63666d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e36",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 54
  },
  "hsl": {
    "h": 220,
    "s": 12.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30056,
    "c": 0.01556,
    "h": 264.3
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#2A2E36
secondary
#666156
accent
#9F72B5
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050607
muted
#797A7A

Preview Lab

Preview with #2A2E36

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

Preview Lab → · Contrast checker → · Palette generator →

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