#2A3A40#2A3A40

#2A3A40 is a dark, muted cyan. Relative luminance 0.039; OKLCH L 33.7% C 0.023 H 222.9°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2A3A40
RGBrgb(42, 58, 64)
HSLhsl(196, 21%, 21%)
HSVhsv(196, 34%, 25%)
CMYKcmyk(34.4%, 9.4%, 0%, 74.9%)
CIE-LABlab(23.30, -4.76, -5.82)
CIE-LCHlch(23.30, 7.52, 230.73°)
OKLaboklab(33.69% -0.0171 -0.0159)
OKLCHoklch(33.69% 0.023 222.9)
XYZxyz(3.3930, 3.8884, 5.4212)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A40 #40302A
analogous
#2A403B #2A3A40 #2A2F40
triadic
#2A3A40 #402A3A #3A402A
tetradic
#2A3A40 #3B2A40 #40302A #2F402A
square
#2A3A40 #3B2A40 #40302A #2F402A
split-complementary
#2A3A40 #402A2F #403B2A
monochromatic
#0C1112 #12191B #2A3A40 #425B65 #5A7D8A

Accessibility & contrast

On white

11.81
#2A3A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2A3A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A40
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A40#FFFFFF#000000##FFFFFF
##2A3A401.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373940
Deuteranopia (green-blind)
#333640
Tritanopia (blue-blind)
#233C3C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a3a40;
/* rgb */ color: rgb(42, 58, 64);
/* oklch */ color: oklch(33.7% 0.023 222.9);
Tailwind
colors: {
  custom: {
    50: '#647074',
    500: '#2a3a40',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a40;
$custom-light: #647074;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a40",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 64
  },
  "hsl": {
    "h": 196.364,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33692,
    "c": 0.02334,
    "h": 222.9
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#2A3A40
secondary
#715C55
accent
#816ABD
background
#F6F6F7
surface
#EBECED
border
#C6C7C8
text
#050708
muted
#7A7A7B

Preview Lab

Preview with #2A3A40

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

Preview Lab → · Contrast checker → · Palette generator →

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