#2E3840#2E3840

#2E3840 is a dark, near-neutral cyan. Relative luminance 0.038; OKLCH L 33.5% C 0.020 H 242.4°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#2E3840
RGBrgb(46, 56, 64)
HSLhsl(207, 16%, 22%)
HSVhsv(207, 28%, 25%)
CMYKcmyk(28.1%, 12.5%, 0%, 74.9%)
CIE-LABlab(22.93, -1.99, -6.35)
CIE-LCHlch(22.93, 6.65, 252.63°)
OKLaboklab(33.48% -0.0091 -0.0173)
OKLCHoklch(33.48% 0.02 242.4)
XYZxyz(3.4660, 3.7792, 5.3963)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3840 #40362E
analogous
#2E403F #2E3840 #2E2F40
triadic
#2E3840 #402E38 #38402E
tetradic
#2E3840 #3F2E40 #40362E #2F402E
square
#2E3840 #3F2E40 #40362E #2F402E
split-complementary
#2E3840 #402E2F #403F2E
monochromatic
#0D1012 #14191C #2E3840 #485764 #617687

Accessibility & contrast

On white

11.96
#2E3840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E3840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3840
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3840#FFFFFF#000000##FFFFFF
##2E38401.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353840
Deuteranopia (green-blind)
#323640
Tritanopia (blue-blind)
#293A3B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e3840;
/* rgb */ color: rgb(46, 56, 64);
/* oklch */ color: oklch(33.5% 0.020 242.4);
Tailwind
colors: {
  custom: {
    50: '#676e74',
    500: '#2e3840',
    950: '#000000',
  },
}
SCSS
$custom: #2e3840;
$custom-light: #676e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3840",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 206.667,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33477,
    "c": 0.01952,
    "h": 242.4
  },
  "luminance": 0.03779
}

Semantic roles & 50–950 ramp

primary
#2E3840
secondary
#706459
accent
#906FB9
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #2E3840

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

Preview Lab → · Contrast checker → · Palette generator →

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