#2A2A46#2A2A46

#2A2A46 is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.9% C 0.050 H 282.9°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#2A2A46
RGBrgb(42, 42, 70)
HSLhsl(240, 25%, 22%)
HSVhsv(240, 40%, 27%)
CMYKcmyk(40%, 40%, 0%, 72.5%)
CIE-LABlab(18.32, 8.08, -17.52)
CIE-LCHlch(18.32, 19.30, 294.76°)
OKLaboklab(29.9% 0.0113 -0.049)
OKLCHoklch(29.9% 0.05 282.9)
XYZxyz(2.8880, 2.5903, 6.1410)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A46 #46462A
analogous
#2A3846 #2A2A46 #382A46
triadic
#2A2A46 #462A2A #2A462A
tetradic
#2A2A46 #462A38 #46462A #2A4638
square
#2A2A46 #462A38 #46462A #2A4638
split-complementary
#2A2A46 #46382A #38462A
monochromatic
#0B0B13 #131320 #2A2A46 #41416C #585893

Accessibility & contrast

On white

13.83
#2A2A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2A2A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A46
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A46#FFFFFF#000000##FFFFFF
##2A2A461.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E47
Deuteranopia (green-blind)
#202C45
Tritanopia (blue-blind)
#222F34
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a2a46;
/* rgb */ color: rgb(42, 42, 70);
/* oklch */ color: oklch(29.9% 0.050 282.9);
Tailwind
colors: {
  custom: {
    50: '#656379',
    500: '#2a2a46',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a46;
$custom-light: #656379;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a46",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 70
  },
  "hsl": {
    "h": 240,
    "s": 25,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29896,
    "c": 0.05031,
    "h": 282.9
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#2A2A46
secondary
#787854
accent
#C166C1
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#050509
muted
#7A797B

Preview Lab

Preview with #2A2A46

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

Preview Lab → · Contrast checker → · Palette generator →

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