#2A3238#2A3238

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

Color values

HEX#2A3238
RGBrgb(42, 50, 56)
HSLhsl(206, 14%, 19%)
HSVhsv(206, 25%, 22%)
CMYKcmyk(25%, 10.7%, 0%, 78%)
CIE-LABlab(20.28, -1.78, -4.94)
CIE-LCHlch(20.28, 5.25, 250.15°)
OKLaboklab(31.2% -0.0076 -0.0134)
OKLCHoklch(31.2% 0.015 240.5)
XYZxyz(2.8091, 3.0589, 4.1830)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3238 #38302A
analogous
#2A3837 #2A3238 #2A2B38
triadic
#2A3238 #382A32 #32382A
tetradic
#2A3238 #372A38 #38302A #2B382A
square
#2A3238 #372A38 #38302A #2B382A
split-complementary
#2A3238 #382A2B #38372A
monochromatic
#0D1011 #101315 #2A3238 #44515B #5E707E

Accessibility & contrast

On white

13.03
#2A3238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3238
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3238#FFFFFF#000000##FFFFFF
##2A32381.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303238
Deuteranopia (green-blind)
#2E3038
Tritanopia (blue-blind)
#263334
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a3238;
/* rgb */ color: rgb(42, 50, 56);
/* oklch */ color: oklch(31.2% 0.015 240.5);
Tailwind
colors: {
  custom: {
    50: '#63696e',
    500: '#2a3238',
    950: '#000000',
  },
}
SCSS
$custom: #2a3238;
$custom-light: #63696e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3238",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 56
  },
  "hsl": {
    "h": 205.714,
    "s": 14.286,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31202,
    "c": 0.01541,
    "h": 240.5
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#2A3238
secondary
#685E55
accent
#8F71B7
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050607
muted
#797A7A

Preview Lab

Preview with #2A3238

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

Preview Lab → · Contrast checker → · Palette generator →

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