#2A2C3E#2A2C3E

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

Color values

HEX#2A2C3E
RGBrgb(42, 44, 62)
HSLhsl(234, 19%, 20%)
HSVhsv(234, 32%, 24%)
CMYKcmyk(32.3%, 29%, 0%, 75.7%)
CIE-LABlab(18.55, 4.12, -11.69)
CIE-LCHlch(18.55, 12.39, 289.43°)
OKLaboklab(29.93% 0.0053 -0.0323)
OKLCHoklch(29.93% 0.033 279.3)
XYZxyz(2.7248, 2.6413, 4.9228)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C3E #3E3C2A
analogous
#2A363E #2A2C3E #322A3E
triadic
#2A2C3E #3E2A2C #2C3E2A
tetradic
#2A2C3E #3E2A36 #3E3C2A #2A3E32
square
#2A2C3E #3E2A36 #3E3C2A #2A3E32
split-complementary
#2A2C3E #3E322A #363E2A
monochromatic
#0C0D12 #11121A #2A2C3E #434662 #5B6087

Accessibility & contrast

On white

13.74
#2A2C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2A2C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C3E
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C3E#FFFFFF#000000##FFFFFF
##2A2C3E1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272E3F
Deuteranopia (green-blind)
#262C3E
Tritanopia (blue-blind)
#252F32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a2c3e;
/* rgb */ color: rgb(42, 44, 62);
/* oklch */ color: oklch(29.9% 0.033 279.3);
Tailwind
colors: {
  custom: {
    50: '#646573',
    500: '#2a2c3e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c3e;
$custom-light: #646573;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c3e",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 62
  },
  "hsl": {
    "h": 234,
    "s": 19.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29933,
    "c": 0.0327,
    "h": 279.3
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#2A2C3E
secondary
#6F6C55
accent
#B46CBC
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#050508
muted
#7A7A7B

Preview Lab

Preview with #2A2C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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