#2A3438#2A3438

#2A3438 is a dark, near-neutral cyan. Relative luminance 0.032; OKLCH L 31.7% C 0.015 H 224.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#2A3438
RGBrgb(42, 52, 56)
HSLhsl(197, 14%, 19%)
HSVhsv(197, 25%, 22%)
CMYKcmyk(25%, 7.1%, 0%, 78%)
CIE-LABlab(20.96, -3.12, -3.92)
CIE-LCHlch(20.96, 5.01, 231.50°)
OKLaboklab(31.74% -0.011 -0.0106)
OKLCHoklch(31.74% 0.015 224)
XYZxyz(2.8964, 3.2337, 4.2122)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3438 #382E2A
analogous
#2A3835 #2A3438 #2A2D38
triadic
#2A3438 #382A34 #34382A
tetradic
#2A3438 #352A38 #382E2A #2D382A
square
#2A3438 #352A38 #382E2A #2D382A
split-complementary
#2A3438 #382A2D #38352A
monochromatic
#0D1011 #101415 #2A3438 #44545B #5E757E

Accessibility & contrast

On white

12.75
#2A3438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2A3438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3438
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3438#FFFFFF#000000##FFFFFF
##2A34381.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323338
Deuteranopia (green-blind)
#303238
Tritanopia (blue-blind)
#263535
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3438;
/* rgb */ color: rgb(42, 52, 56);
/* oklch */ color: oklch(31.7% 0.015 224.0);
Tailwind
colors: {
  custom: {
    50: '#636b6e',
    500: '#2a3438',
    950: '#000000',
  },
}
SCSS
$custom: #2a3438;
$custom-light: #636b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3438",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 56
  },
  "hsl": {
    "h": 197.143,
    "s": 14.286,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31738,
    "c": 0.01533,
    "h": 224
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#2A3438
secondary
#685B55
accent
#8571B7
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050607
muted
#797A7A

Preview Lab

Preview with #2A3438

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

Preview Lab → · Contrast checker → · Palette generator →

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