#2A2C3A#2A2C3A

#2A2C3A is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.7% C 0.026 H 278.4°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#2A2C3A
RGBrgb(42, 44, 58)
HSLhsl(233, 16%, 20%)
HSVhsv(233, 28%, 23%)
CMYKcmyk(27.6%, 24.1%, 0%, 77.3%)
CIE-LABlab(18.36, 2.92, -9.21)
CIE-LCHlch(18.36, 9.66, 287.57°)
OKLaboklab(29.73% 0.0037 -0.0253)
OKLCHoklch(29.73% 0.026 278.4)
XYZxyz(2.6191, 2.5990, 4.3658)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C3A #3A382A
analogous
#2A343A #2A2C3A #302A3A
triadic
#2A2C3A #3A2A2C #2C3A2A
tetradic
#2A2C3A #3A2A34 #3A382A #2A3A30
square
#2A2C3A #3A2A34 #3A382A #2A3A30
split-complementary
#2A2C3A #3A302A #343A2A
monochromatic
#0D0D12 #101117 #2A2C3A #44475D #5D6281

Accessibility & contrast

On white

13.82
#2A2C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2C3A
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C3A#FFFFFF#000000##FFFFFF
##2A2C3A1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282D3B
Deuteranopia (green-blind)
#272C3A
Tritanopia (blue-blind)
#262F31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a2c3a;
/* rgb */ color: rgb(42, 44, 58);
/* oklch */ color: oklch(29.7% 0.026 278.4);
Tailwind
colors: {
  custom: {
    50: '#636570',
    500: '#2a2c3a',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c3a;
$custom-light: #636570;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c3a",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 58
  },
  "hsl": {
    "h": 232.5,
    "s": 16,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29727,
    "c": 0.02553,
    "h": 278.4
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#2A2C3A
secondary
#6B6855
accent
#B06FB9
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050507
muted
#797A7A

Preview Lab

Preview with #2A2C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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