#2A2A44#2A2A44

#2A2A44 is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.8% C 0.047 H 283.2°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#2A2A44
RGBrgb(42, 42, 68)
HSLhsl(240, 24%, 22%)
HSVhsv(240, 38%, 27%)
CMYKcmyk(38.2%, 38.2%, 0%, 73.3%)
CIE-LABlab(18.21, 7.43, -16.33)
CIE-LCHlch(18.21, 17.94, 294.48°)
OKLaboklab(29.78% 0.0107 -0.0456)
OKLCHoklch(29.78% 0.047 283.2)
XYZxyz(2.8259, 2.5654, 5.8140)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A44 #44442A
analogous
#2A3744 #2A2A44 #372A44
triadic
#2A2A44 #442A2A #2A442A
tetradic
#2A2A44 #442A37 #44442A #2A4437
square
#2A2A44 #442A37 #44442A #2A4437
split-complementary
#2A2A44 #44372A #37442A
monochromatic
#0C0C13 #13131E #2A2A44 #41416A #595990

Accessibility & contrast

On white

13.88
#2A2A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2A2A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A44
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A44#FFFFFF#000000##FFFFFF
##2A2A441.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222D45
Deuteranopia (green-blind)
#212C43
Tritanopia (blue-blind)
#232F33
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2a44;
/* rgb */ color: rgb(42, 42, 68);
/* oklch */ color: oklch(29.8% 0.047 283.2);
Tailwind
colors: {
  custom: {
    50: '#646378',
    500: '#2a2a44',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a44;
$custom-light: #646378;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a44",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 68
  },
  "hsl": {
    "h": 240,
    "s": 23.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29775,
    "c": 0.0468,
    "h": 283.2
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#2A2A44
secondary
#767654
accent
#C068C0
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#050509
muted
#7A797B

Preview Lab

Preview with #2A2A44

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

Preview Lab → · Contrast checker → · Palette generator →

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