#2E2F46#2E2F46

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

Color values

HEX#2E2F46
RGBrgb(46, 47, 70)
HSLhsl(238, 21%, 23%)
HSVhsv(238, 34%, 27%)
CMYKcmyk(34.3%, 32.9%, 0%, 72.5%)
CIE-LABlab(20.27, 5.94, -14.46)
CIE-LCHlch(20.27, 15.64, 292.32°)
OKLaboklab(31.49% 0.0084 -0.0401)
OKLCHoklch(31.49% 0.041 281.8)
XYZxyz(3.2484, 3.0560, 6.2119)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F46 #46452E
analogous
#2E3B46 #2E2F46 #392E46
triadic
#2E2F46 #462E2F #2F462E
tetradic
#2E2F46 #462E3B #46452E #2E4639
square
#2E2F46 #462E3B #46452E #2E4639
split-complementary
#2E2F46 #46392E #3B462E
monochromatic
#0C0C12 #161621 #2E2F46 #46486B #5F6190

Accessibility & contrast

On white

13.03
#2E2F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E2F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F46
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F46#FFFFFF#000000##FFFFFF
##2E2F461.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283247
Deuteranopia (green-blind)
#273045
Tritanopia (blue-blind)
#283337
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2f46;
/* rgb */ color: rgb(46, 47, 70);
/* oklch */ color: oklch(31.5% 0.041 281.8);
Tailwind
colors: {
  custom: {
    50: '#676779',
    500: '#2e2f46',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f46;
$custom-light: #676779;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f46",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 70
  },
  "hsl": {
    "h": 237.5,
    "s": 20.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31487,
    "c": 0.041,
    "h": 281.8
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#2E2F46
secondary
#777659
accent
#BA6BBD
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2E2F46

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

Preview Lab → · Contrast checker → · Palette generator →

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