#2E2F40#2E2F40

#2E2F40 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.2% C 0.030 H 281.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#2E2F40
RGBrgb(46, 47, 64)
HSLhsl(237, 16%, 22%)
HSVhsv(237, 28%, 25%)
CMYKcmyk(28.1%, 26.6%, 0%, 74.9%)
CIE-LABlab(19.98, 4.12, -10.82)
CIE-LCHlch(19.98, 11.58, 290.85°)
OKLaboklab(31.17% 0.0063 -0.0298)
OKLCHoklch(31.17% 0.03 281.9)
XYZxyz(3.0684, 2.9840, 5.2638)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F40 #403F2E
analogous
#2E3840 #2E2F40 #362E40
triadic
#2E2F40 #402E2F #2F402E
tetradic
#2E2F40 #402E38 #403F2E #2E4036
square
#2E2F40 #402E38 #403F2E #2E4036
split-complementary
#2E2F40 #40362E #38402E
monochromatic
#0D0D12 #14151C #2E2F40 #484964 #616387

Accessibility & contrast

On white

13.15
#2E2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E2F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F40
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F40#FFFFFF#000000##FFFFFF
##2E2F401.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3141
Deuteranopia (green-blind)
#2A3040
Tritanopia (blue-blind)
#2A3235
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2f40;
/* rgb */ color: rgb(46, 47, 64);
/* oklch */ color: oklch(31.2% 0.030 281.9);
Tailwind
colors: {
  custom: {
    50: '#676774',
    500: '#2e2f40',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f40;
$custom-light: #676774;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f40",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 236.667,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31169,
    "c": 0.03042,
    "h": 281.9
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#2E2F40
secondary
#706F59
accent
#B56FB9
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2E2F40

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

Preview Lab → · Contrast checker → · Palette generator →

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