#2E3042#2E3042

#2E3042 is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.5% C 0.032 H 279.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#2E3042
RGBrgb(46, 48, 66)
HSLhsl(234, 18%, 22%)
HSVhsv(234, 30%, 26%)
CMYKcmyk(30.3%, 27.3%, 0%, 74.1%)
CIE-LABlab(20.39, 4.02, -11.55)
CIE-LCHlch(20.39, 12.23, 289.21°)
OKLaboklab(31.52% 0.0053 -0.0318)
OKLCHoklch(31.52% 0.032 279.4)
XYZxyz(3.1668, 3.0880, 5.5824)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3042 #42402E
analogous
#2E3A42 #2E3042 #362E42
triadic
#2E3042 #422E30 #30422E
tetradic
#2E3042 #422E3A #42402E #2E4236
square
#2E3042 #422E3A #42402E #2E4236
split-complementary
#2E3042 #42362E #3A422E
monochromatic
#0D0D12 #15161E #2E3042 #474A66 #60648A

Accessibility & contrast

On white

12.98
#2E3042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2E3042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3042
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3042#FFFFFF#000000##FFFFFF
##2E30421.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3243
Deuteranopia (green-blind)
#2A3042
Tritanopia (blue-blind)
#293336
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e3042;
/* rgb */ color: rgb(46, 48, 66);
/* oklch */ color: oklch(31.5% 0.032 279.4);
Tailwind
colors: {
  custom: {
    50: '#676876',
    500: '#2e3042',
    950: '#000000',
  },
}
SCSS
$custom: #2e3042;
$custom-light: #676876;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3042",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 66
  },
  "hsl": {
    "h": 234,
    "s": 17.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31521,
    "c": 0.03227,
    "h": 279.4
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#2E3042
secondary
#737059
accent
#B36DBB
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2E3042

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

Preview Lab → · Contrast checker → · Palette generator →

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