#2A2E40#2A2E40

#2A2E40 is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.5% C 0.033 H 274.6°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#2A2E40
RGBrgb(42, 46, 64)
HSLhsl(229, 21%, 21%)
HSVhsv(229, 34%, 25%)
CMYKcmyk(34.4%, 28.1%, 0%, 74.9%)
CIE-LABlab(19.29, 3.34, -11.91)
CIE-LCHlch(19.29, 12.37, 285.66°)
OKLaboklab(30.54% 0.0026 -0.0329)
OKLCHoklch(30.54% 0.033 274.6)
XYZxyz(2.8570, 2.8163, 5.2426)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E40 #403C2A
analogous
#2A3940 #2A2E40 #312A40
triadic
#2A2E40 #402A2E #2E402A
tetradic
#2A2E40 #402A39 #403C2A #2A4031
square
#2A2E40 #402A39 #403C2A #2A4031
split-complementary
#2A2E40 #40312A #39402A
monochromatic
#0C0D12 #12131B #2A2E40 #424965 #5A638A

Accessibility & contrast

On white

13.43
#2A2E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2A2E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E40
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E40#FFFFFF#000000##FFFFFF
##2A2E401.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#272E40
Tritanopia (blue-blind)
#243134
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a2e40;
/* rgb */ color: rgb(42, 46, 64);
/* oklch */ color: oklch(30.5% 0.033 274.6);
Tailwind
colors: {
  custom: {
    50: '#646674',
    500: '#2a2e40',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e40;
$custom-light: #646674;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e40",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 229.091,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30544,
    "c": 0.03302,
    "h": 274.6
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#2A2E40
secondary
#716C55
accent
#AE6ABD
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2A2E40

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

Preview Lab → · Contrast checker → · Palette generator →

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