#2A3239#2A3239

#2A3239 is a dark, near-neutral cyan. Relative luminance 0.031; OKLCH L 31.2% C 0.017 H 244.8°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2A3239
RGBrgb(42, 50, 57)
HSLhsl(208, 15%, 19%)
HSVhsv(208, 26%, 22%)
CMYKcmyk(26.3%, 12.3%, 0%, 77.6%)
CIE-LABlab(20.32, -1.50, -5.56)
CIE-LCHlch(20.32, 5.76, 254.91°)
OKLaboklab(31.25% -0.0071 -0.0151)
OKLCHoklch(31.25% 0.017 244.8)
XYZxyz(2.8338, 3.0688, 4.3131)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3239 #39312A
analogous
#2A3939 #2A3239 #2A2B39
triadic
#2A3239 #392A32 #32392A
tetradic
#2A3239 #392A39 #39312A #2B392A
square
#2A3239 #392A39 #39312A #2B392A
split-complementary
#2A3239 #392A2B #39392A
monochromatic
#0D0F12 #101316 #2A3239 #44515C #5E707F

Accessibility & contrast

On white

13.01
#2A3239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A3239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3239
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3239#FFFFFF#000000##FFFFFF
##2A32391.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3239
Deuteranopia (green-blind)
#2D3039
Tritanopia (blue-blind)
#263434
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a3239;
/* rgb */ color: rgb(42, 50, 57);
/* oklch */ color: oklch(31.2% 0.017 244.8);
Tailwind
colors: {
  custom: {
    50: '#63696f',
    500: '#2a3239',
    950: '#000000',
  },
}
SCSS
$custom: #2a3239;
$custom-light: #63696f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3239",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 57
  },
  "hsl": {
    "h": 208,
    "s": 15.152,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31246,
    "c": 0.01673,
    "h": 244.8
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#2A3239
secondary
#6A5F55
accent
#9170B8
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050607
muted
#797A7A

Preview Lab

Preview with #2A3239

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

Preview Lab → · Contrast checker → · Palette generator →

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