#2E2E40#2E2E40

#2E2E40 is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.9% C 0.032 H 284.4°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#2E2E40
RGBrgb(46, 46, 64)
HSLhsl(240, 16%, 22%)
HSVhsv(240, 28%, 25%)
CMYKcmyk(28.1%, 28.1%, 0%, 74.9%)
CIE-LABlab(19.66, 4.82, -11.32)
CIE-LCHlch(19.66, 12.30, 293.06°)
OKLaboklab(30.92% 0.008 -0.0311)
OKLCHoklch(30.92% 0.032 284.4)
XYZxyz(3.0289, 2.9049, 5.2506)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E40 #40402E
analogous
#2E3740 #2E2E40 #372E40
triadic
#2E2E40 #402E2E #2E402E
tetradic
#2E2E40 #402E37 #40402E #2E4037
square
#2E2E40 #402E37 #40402E #2E4037
split-complementary
#2E2E40 #40372E #37402E
monochromatic
#0D0D12 #14141C #2E2E40 #484864 #616187

Accessibility & contrast

On white

13.28
#2E2E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2E2E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E40
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E40#FFFFFF#000000##FFFFFF
##2E2E401.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#292F40
Tritanopia (blue-blind)
#2A3134
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2e40;
/* rgb */ color: rgb(46, 46, 64);
/* oklch */ color: oklch(30.9% 0.032 284.4);
Tailwind
colors: {
  custom: {
    50: '#676674',
    500: '#2e2e40',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e40;
$custom-light: #676674;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e40",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 240,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30921,
    "c": 0.03216,
    "h": 284.4
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#2E2E40
secondary
#707059
accent
#B96FB9
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2E2E40

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

Preview Lab → · Contrast checker → · Palette generator →

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