#2E3442#2E3442

#2E3442 is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.5% C 0.026 H 266.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#2E3442
RGBrgb(46, 52, 66)
HSLhsl(222, 18%, 22%)
HSVhsv(222, 30%, 26%)
CMYKcmyk(30.3%, 21.2%, 0%, 74.1%)
CIE-LABlab(21.69, 1.28, -9.57)
CIE-LCHlch(21.69, 9.65, 277.61°)
OKLaboklab(32.53% -0.0015 -0.0262)
OKLCHoklch(32.53% 0.026 266.8)
XYZxyz(3.3378, 3.4301, 5.6394)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3442 #423C2E
analogous
#2E3E42 #2E3442 #322E42
triadic
#2E3442 #422E34 #34422E
tetradic
#2E3442 #422E3E #423C2E #2E4232
square
#2E3442 #422E3E #423C2E #2E4232
split-complementary
#2E3442 #42322E #3E422E
monochromatic
#0D0E12 #15181E #2E3442 #475066 #606D8A

Accessibility & contrast

On white

12.46
#2E3442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E3442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3442
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3442#FFFFFF#000000##FFFFFF
##2E34421.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#2E3342
Tritanopia (blue-blind)
#293739
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e3442;
/* rgb */ color: rgb(46, 52, 66);
/* oklch */ color: oklch(32.5% 0.026 266.8);
Tailwind
colors: {
  custom: {
    50: '#676b76',
    500: '#2e3442',
    950: '#000000',
  },
}
SCSS
$custom: #2e3442;
$custom-light: #676b76;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3442",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 66
  },
  "hsl": {
    "h": 222,
    "s": 17.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32532,
    "c": 0.02629,
    "h": 266.8
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#2E3442
secondary
#736B59
accent
#A36DBB
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2E3442

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

Preview Lab → · Contrast checker → · Palette generator →

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