#2A2A3E#2A2A3E

#2A2A3E is a dark, muted blue. Relative luminance 0.025; OKLCH L 29.4% C 0.036 H 284.0°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#2A2A3E
RGBrgb(42, 42, 62)
HSLhsl(240, 19%, 20%)
HSVhsv(240, 32%, 24%)
CMYKcmyk(32.3%, 32.3%, 0%, 75.7%)
CIE-LABlab(17.90, 5.53, -12.68)
CIE-LCHlch(17.90, 13.84, 293.57°)
OKLaboklab(29.43% 0.0087 -0.0351)
OKLCHoklch(29.43% 0.036 284)
XYZxyz(2.6521, 2.4959, 4.8985)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A3E #3E3E2A
analogous
#2A343E #2A2A3E #342A3E
triadic
#2A2A3E #3E2A2A #2A3E2A
tetradic
#2A2A3E #3E2A34 #3E3E2A #2A3E34
square
#2A2A3E #3E2A34 #3E3E2A #2A3E34
split-complementary
#2A2A3E #3E342A #343E2A
monochromatic
#0C0C12 #11111A #2A2A3E #434362 #5B5B87

Accessibility & contrast

On white

14.01
#2A2A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2A2A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A3E
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A3E#FFFFFF#000000##FFFFFF
##2A2A3E1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3F
Deuteranopia (green-blind)
#242B3D
Tritanopia (blue-blind)
#252E31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2a3e;
/* rgb */ color: rgb(42, 42, 62);
/* oklch */ color: oklch(29.4% 0.036 284.0);
Tailwind
colors: {
  custom: {
    50: '#646373',
    500: '#2a2a3e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a3e;
$custom-light: #646373;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a3e",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 62
  },
  "hsl": {
    "h": 240,
    "s": 19.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29432,
    "c": 0.03617,
    "h": 284
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#2A2A3E
secondary
#6F6F55
accent
#BC6CBC
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#050508
muted
#7A797B

Preview Lab

Preview with #2A2A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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