#2A3038#2A3038

#2A3038 is a dark, near-neutral cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.017 H 255.6°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#2A3038
RGBrgb(42, 48, 56)
HSLhsl(214, 14%, 19%)
HSVhsv(214, 25%, 22%)
CMYKcmyk(25%, 14.3%, 0%, 78%)
CIE-LABlab(19.60, -0.43, -5.95)
CIE-LCHlch(19.60, 5.96, 265.88°)
OKLaboklab(30.67% -0.0041 -0.0162)
OKLCHoklch(30.67% 0.017 255.6)
XYZxyz(2.7254, 2.8916, 4.1552)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3038 #38322A
analogous
#2A3738 #2A3038 #2B2A38
triadic
#2A3038 #382A30 #30382A
tetradic
#2A3038 #382A37 #38322A #2A382B
square
#2A3038 #382A37 #38322A #2A382B
split-complementary
#2A3038 #382B2A #37382A
monochromatic
#0D0F11 #101215 #2A3038 #444E5B #5E6C7E

Accessibility & contrast

On white

13.30
#2A3038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2A3038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3038
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3038#FFFFFF#000000##FFFFFF
##2A30381.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3038
Deuteranopia (green-blind)
#2C2F38
Tritanopia (blue-blind)
#263233
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3038;
/* rgb */ color: rgb(42, 48, 56);
/* oklch */ color: oklch(30.7% 0.017 255.6);
Tailwind
colors: {
  custom: {
    50: '#63686e',
    500: '#2a3038',
    950: '#000000',
  },
}
SCSS
$custom: #2a3038;
$custom-light: #63686e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3038",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 56
  },
  "hsl": {
    "h": 214.286,
    "s": 14.286,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30672,
    "c": 0.0167,
    "h": 255.6
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#2A3038
secondary
#686055
accent
#9971B7
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050607
muted
#797A7A

Preview Lab

Preview with #2A3038

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

Preview Lab → · Contrast checker → · Palette generator →

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