#2E3046#2E3046

#2E3046 is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.7% C 0.039 H 279.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#2E3046
RGBrgb(46, 48, 70)
HSLhsl(235, 21%, 23%)
HSVhsv(235, 34%, 27%)
CMYKcmyk(34.3%, 31.4%, 0%, 72.5%)
CIE-LABlab(20.58, 5.24, -13.97)
CIE-LCHlch(20.58, 14.93, 290.57°)
OKLaboklab(31.73% 0.0068 -0.0387)
OKLCHoklch(31.73% 0.039 279.9)
XYZxyz(3.2889, 3.1368, 6.2254)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3046 #46442E
analogous
#2E3C46 #2E3046 #382E46
triadic
#2E3046 #462E30 #30462E
tetradic
#2E3046 #462E3C #46442E #2E4638
square
#2E3046 #462E3C #46442E #2E4638
split-complementary
#2E3046 #46382E #3C462E
monochromatic
#0C0D12 #161721 #2E3046 #46496B #5F6390

Accessibility & contrast

On white

12.90
#2E3046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E3046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3046
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3046#FFFFFF#000000##FFFFFF
##2E30461.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3247
Deuteranopia (green-blind)
#283145
Tritanopia (blue-blind)
#283438
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e3046;
/* rgb */ color: rgb(46, 48, 70);
/* oklch */ color: oklch(31.7% 0.039 279.9);
Tailwind
colors: {
  custom: {
    50: '#676879',
    500: '#2e3046',
    950: '#000000',
  },
}
SCSS
$custom: #2e3046;
$custom-light: #676879;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3046",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 70
  },
  "hsl": {
    "h": 235,
    "s": 20.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31732,
    "c": 0.03931,
    "h": 279.9
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#2E3046
secondary
#777459
accent
#B66BBD
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2E3046

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

Preview Lab → · Contrast checker → · Palette generator →

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