#2A323E#2A323E

#2A323E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.5% C 0.024 H 258.4°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2A323E
RGBrgb(42, 50, 62)
HSLhsl(216, 19%, 20%)
HSVhsv(216, 32%, 24%)
CMYKcmyk(32.3%, 19.4%, 0%, 75.7%)
CIE-LABlab(20.52, -0.03, -8.66)
CIE-LCHlch(20.52, 8.66, 269.79°)
OKLaboklab(31.48% -0.0049 -0.0238)
OKLCHoklch(31.48% 0.024 258.4)
XYZxyz(2.9647, 3.1211, 5.0027)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A323E #3E362A
analogous
#2A3C3E #2A323E #2C2A3E
triadic
#2A323E #3E2A32 #323E2A
tetradic
#2A323E #3E2A3C #3E362A #2A3E2C
square
#2A323E #3E2A3C #3E362A #2A3E2C
split-complementary
#2A323E #3E2C2A #3C3E2A
monochromatic
#0C0F12 #11151A #2A323E #434F62 #5B6D87

Accessibility & contrast

On white

12.93
#2A323E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2A323E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A323E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A323E#FFFFFF#000000##FFFFFF
##2A323E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E333F
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#243536
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a323e;
/* rgb */ color: rgb(42, 50, 62);
/* oklch */ color: oklch(31.5% 0.024 258.4);
Tailwind
colors: {
  custom: {
    50: '#646973',
    500: '#2a323e',
    950: '#000000',
  },
}
SCSS
$custom: #2a323e;
$custom-light: #646973;
$custom-dark: #000000;
JSON
{
  "hex": "#2a323e",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 62
  },
  "hsl": {
    "h": 216,
    "s": 19.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31476,
    "c": 0.02426,
    "h": 258.4
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#2A323E
secondary
#6F6555
accent
#9C6CBC
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050608
muted
#797A7B

Preview Lab

Preview with #2A323E

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

Preview Lab → · Contrast checker → · Palette generator →

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