#2E2E4E#2E2E4E

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

Color values

HEX#2E2E4E
RGBrgb(46, 46, 78)
HSLhsl(240, 26%, 24%)
HSVhsv(240, 41%, 31%)
CMYKcmyk(41%, 41%, 0%, 69.4%)
CIE-LABlab(20.38, 9.19, -19.69)
CIE-LCHlch(20.38, 21.73, 295.03°)
OKLaboklab(31.71% 0.0124 -0.0552)
OKLCHoklch(31.71% 0.057 282.7)
XYZxyz(3.4785, 3.0848, 7.6184)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E4E #4E4E2E
analogous
#2E3E4E #2E2E4E #3E2E4E
triadic
#2E2E4E #4E2E2E #2E4E2E
tetradic
#2E2E4E #4E2E3E #4E4E2E #2E4E3E
square
#2E2E4E #4E2E3E #4E4E2E #2E4E3E
split-complementary
#2E2E4E #4E3E2E #3E4E2E
monochromatic
#0B0B13 #171728 #2E2E4E #454574 #5B5B9B

Accessibility & contrast

On white

12.99
#2E2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2E4E
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E4E#FFFFFF#000000##FFFFFF
##2E2E4E1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324F
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#25343A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2e4e;
/* rgb */ color: rgb(46, 46, 78);
/* oklch */ color: oklch(31.7% 0.057 282.7);
Tailwind
colors: {
  custom: {
    50: '#68667f',
    500: '#2e2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e4e;
$custom-light: #68667f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e4e",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 240,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31714,
    "c": 0.05658,
    "h": 282.7
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#2E2E4E
secondary
#7F7F58
accent
#C266C2
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2E2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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