#2E2B40#2E2B40

#2E2B40 is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.2% C 0.038 H 290.5°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#2E2B40
RGBrgb(46, 43, 64)
HSLhsl(249, 20%, 21%)
HSVhsv(249, 33%, 25%)
CMYKcmyk(28.1%, 32.8%, 0%, 74.9%)
CIE-LABlab(18.71, 6.92, -12.78)
CIE-LCHlch(18.71, 14.53, 298.43°)
OKLaboklab(30.19% 0.0132 -0.0353)
OKLCHoklch(30.19% 0.038 290.5)
XYZxyz(2.9158, 2.6787, 5.2129)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B40 #3D402B
analogous
#2B3240 #2E2B40 #382B40
triadic
#2E2B40 #402E2B #2B402E
tetradic
#2E2B40 #402B32 #3D402B #2B4038
square
#2E2B40 #402B32 #3D402B #2B4038
split-complementary
#2E2B40 #40382B #32402B
monochromatic
#0D0C12 #14121B #2E2B40 #484465 #635C89

Accessibility & contrast

On white

13.67
#2E2B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2E2B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B40
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B40#FFFFFF#000000##FFFFFF
##2E2B401.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E41
Deuteranopia (green-blind)
#262D3F
Tritanopia (blue-blind)
#2A2F32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e2b40;
/* rgb */ color: rgb(46, 43, 64);
/* oklch */ color: oklch(30.2% 0.038 290.5);
Tailwind
colors: {
  custom: {
    50: '#676475',
    500: '#2e2b40',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b40;
$custom-light: #676475;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b40",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 64
  },
  "hsl": {
    "h": 248.571,
    "s": 19.626,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30185,
    "c": 0.03769,
    "h": 290.5
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#2E2B40
secondary
#6D7156
accent
#BC6CB1
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #2E2B40

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

Preview Lab → · Contrast checker → · Palette generator →

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