#2E343E#2E343E

#2E343E is a dark, near-neutral blue. Relative luminance 0.034; OKLCH L 32.3% C 0.020 H 260.6°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#2E343E
RGBrgb(46, 52, 62)
HSLhsl(218, 15%, 21%)
HSVhsv(218, 26%, 24%)
CMYKcmyk(25.8%, 16.1%, 0%, 75.7%)
CIE-LABlab(21.52, 0.12, -7.12)
CIE-LCHlch(21.52, 7.12, 270.96°)
OKLaboklab(32.35% -0.0032 -0.0194)
OKLCHoklch(32.35% 0.02 260.6)
XYZxyz(3.2240, 3.3845, 5.0399)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E343E #3E382E
analogous
#2E3C3E #2E343E #302E3E
triadic
#2E343E #3E2E34 #343E2E
tetradic
#2E343E #3E2E3C #3E382E #2E3E30
square
#2E343E #3E2E3C #3E382E #2E3E30
split-complementary
#2E343E #3E302E #3C3E2E
monochromatic
#0D0F12 #14171B #2E343E #485161 #626F84

Accessibility & contrast

On white

12.52
#2E343E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E343E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E343E
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E343E#FFFFFF#000000##FFFFFF
##2E343E1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343E
Deuteranopia (green-blind)
#2F333E
Tritanopia (blue-blind)
#2A3637
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e343e;
/* rgb */ color: rgb(46, 52, 62);
/* oklch */ color: oklch(32.3% 0.020 260.6);
Tailwind
colors: {
  custom: {
    50: '#676b73',
    500: '#2e343e',
    950: '#000000',
  },
}
SCSS
$custom: #2e343e;
$custom-light: #676b73;
$custom-dark: #000000;
JSON
{
  "hex": "#2e343e",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 62
  },
  "hsl": {
    "h": 217.5,
    "s": 14.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32346,
    "c": 0.01966,
    "h": 260.6
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#2E343E
secondary
#6E665A
accent
#9D70B8
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2E343E

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

Preview Lab → · Contrast checker → · Palette generator →

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