#2E2A45#2E2A45

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

Color values

HEX#2E2A45
RGBrgb(46, 42, 69)
HSLhsl(249, 24%, 22%)
HSVhsv(249, 39%, 27%)
CMYKcmyk(33.3%, 39.1%, 0%, 72.9%)
CIE-LABlab(18.66, 9.14, -16.29)
CIE-LCHlch(18.66, 18.68, 299.30°)
OKLaboklab(30.23% 0.0165 -0.0454)
OKLCHoklch(30.23% 0.048 290)
XYZxyz(3.0286, 2.6664, 5.9842)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A45 #41452A
analogous
#2A3445 #2E2A45 #3C2A45
triadic
#2E2A45 #452E2A #2A452E
tetradic
#2E2A45 #452A34 #41452A #2A453C
square
#2E2A45 #452A34 #41452A #2A453C
split-complementary
#2E2A45 #453C2A #34452A
monochromatic
#0D0C13 #15131F #2E2A45 #47416B #615891

Accessibility & contrast

On white

13.70
#2E2A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2E2A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A45
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A45#FFFFFF#000000##FFFFFF
##2E2A451.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222E46
Deuteranopia (green-blind)
#222D44
Tritanopia (blue-blind)
#292F34
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2a45;
/* rgb */ color: rgb(46, 42, 69);
/* oklch */ color: oklch(30.2% 0.048 290.0);
Tailwind
colors: {
  custom: {
    50: '#676378',
    500: '#2e2a45',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a45;
$custom-light: #676378;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a45",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 248.889,
    "s": 24.324,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30229,
    "c": 0.04828,
    "h": 290
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#2E2A45
secondary
#727754
accent
#C167B3
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060509
muted
#7A797B

Preview Lab

Preview with #2E2A45

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

Preview Lab → · Contrast checker → · Palette generator →

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