#2E2C40#2E2C40

#2E2C40 is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.4% C 0.036 H 288.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#2E2C40
RGBrgb(46, 44, 64)
HSLhsl(246, 19%, 21%)
HSVhsv(246, 31%, 25%)
CMYKcmyk(28.1%, 31.2%, 0%, 74.9%)
CIE-LABlab(19.02, 6.22, -12.29)
CIE-LCHlch(19.02, 13.78, 296.82°)
OKLaboklab(30.43% 0.0115 -0.0339)
OKLCHoklch(30.43% 0.036 288.7)
XYZxyz(2.9526, 2.7523, 5.2252)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C40 #3E402C
analogous
#2C3440 #2E2C40 #382C40
triadic
#2E2C40 #402E2C #2C402E
tetradic
#2E2C40 #402C34 #3E402C #2C4038
square
#2E2C40 #402C34 #3E402C #2C4038
split-complementary
#2E2C40 #40382C #34402C
monochromatic
#0D0C12 #14131C #2E2C40 #484564 #625E89

Accessibility & contrast

On white

13.54
#2E2C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2E2C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C40
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C40#FFFFFF#000000##FFFFFF
##2E2C401.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#272E3F
Tritanopia (blue-blind)
#2A2F33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e2c40;
/* rgb */ color: rgb(46, 44, 64);
/* oklch */ color: oklch(30.4% 0.036 288.7);
Tailwind
colors: {
  custom: {
    50: '#676575',
    500: '#2e2c40',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c40;
$custom-light: #676575;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c40",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 64
  },
  "hsl": {
    "h": 246,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30429,
    "c": 0.0358,
    "h": 288.7
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#2E2C40
secondary
#6E7157
accent
#BB6DB3
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060508
muted
#7A7A7B

Preview Lab

Preview with #2E2C40

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

Preview Lab → · Contrast checker → · Palette generator →

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