#2A2C46#2A2C46

#2A2C46 is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.4% C 0.047 H 279.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#2A2C46
RGBrgb(42, 44, 70)
HSLhsl(236, 25%, 22%)
HSVhsv(236, 40%, 27%)
CMYKcmyk(40%, 37.1%, 0%, 72.5%)
CIE-LABlab(18.95, 6.66, -16.54)
CIE-LCHlch(18.95, 17.83, 291.95°)
OKLaboklab(30.38% 0.008 -0.0462)
OKLCHoklch(30.38% 0.047 279.8)
XYZxyz(2.9607, 2.7357, 6.1652)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C46 #46442A
analogous
#2A3A46 #2A2C46 #362A46
triadic
#2A2C46 #462A2C #2C462A
tetradic
#2A2C46 #462A3A #46442A #2A4636
square
#2A2C46 #462A3A #46442A #2A4636
split-complementary
#2A2C46 #46362A #3A462A
monochromatic
#0B0C13 #131420 #2A2C46 #41446C #585C93

Accessibility & contrast

On white

13.57
#2A2C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2A2C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C46
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C46#FFFFFF#000000##FFFFFF
##2A2C461.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242F47
Deuteranopia (green-blind)
#222D45
Tritanopia (blue-blind)
#223135
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a2c46;
/* rgb */ color: rgb(42, 44, 70);
/* oklch */ color: oklch(30.4% 0.047 279.8);
Tailwind
colors: {
  custom: {
    50: '#656579',
    500: '#2a2c46',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c46;
$custom-light: #656579;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c46",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 70
  },
  "hsl": {
    "h": 235.714,
    "s": 25,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30381,
    "c": 0.04686,
    "h": 279.8
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#2A2C46
secondary
#787554
accent
#BB66C1
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050509
muted
#7A7A7B

Preview Lab

Preview with #2A2C46

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

Preview Lab → · Contrast checker → · Palette generator →

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