#2E2A48#2E2A48

#2E2A48 is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.4% C 0.053 H 288.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#2E2A48
RGBrgb(46, 42, 72)
HSLhsl(248, 26%, 22%)
HSVhsv(248, 42%, 28%)
CMYKcmyk(36.1%, 41.7%, 0%, 71.8%)
CIE-LABlab(18.82, 10.08, -18.08)
CIE-LCHlch(18.82, 20.70, 299.14°)
OKLaboklab(30.41% 0.0173 -0.0505)
OKLCHoklch(30.41% 0.053 288.9)
XYZxyz(3.1241, 2.7046, 6.4871)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A48 #44482A
analogous
#2A3548 #2E2A48 #3D2A48
triadic
#2E2A48 #482E2A #2A482E
tetradic
#2E2A48 #482A35 #44482A #2A483D
square
#2E2A48 #482A35 #44482A #2A483D
split-complementary
#2E2A48 #483D2A #35482A
monochromatic
#0C0B13 #151321 #2E2A48 #47416F #5F5795

Accessibility & contrast

On white

13.63
#2E2A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A48
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A48#FFFFFF#000000##FFFFFF
##2E2A481.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E49
Deuteranopia (green-blind)
#212D47
Tritanopia (blue-blind)
#282F35
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e2a48;
/* rgb */ color: rgb(46, 42, 72);
/* oklch */ color: oklch(30.4% 0.053 288.9);
Tailwind
colors: {
  custom: {
    50: '#68637b',
    500: '#2e2a48',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a48;
$custom-light: #68637b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a48",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 72
  },
  "hsl": {
    "h": 248,
    "s": 26.316,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30409,
    "c": 0.05343,
    "h": 288.9
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#2E2A48
secondary
#757A54
accent
#C365B6
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060509
muted
#7A797B

Preview Lab

Preview with #2E2A48

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

Preview Lab → · Contrast checker → · Palette generator →

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