#2A3846#2A3846

#2A3846 is a dark, muted cyan. Relative luminance 0.038; OKLCH L 33.4% C 0.031 H 248.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2A3846
RGBrgb(42, 56, 70)
HSLhsl(210, 25%, 22%)
HSVhsv(210, 40%, 27%)
CMYKcmyk(40%, 20%, 0%, 72.5%)
CIE-LABlab(22.87, -1.61, -10.49)
CIE-LCHlch(22.87, 10.61, 261.28°)
OKLaboklab(33.43% -0.0112 -0.0289)
OKLCHoklch(33.43% 0.031 248.8)
XYZxyz(3.4742, 3.7626, 6.3364)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3846 #46382A
analogous
#2A4646 #2A3846 #2A2A46
triadic
#2A3846 #462A38 #38462A
tetradic
#2A3846 #462A46 #46382A #2A462A
square
#2A3846 #462A46 #46382A #2A462A
split-complementary
#2A3846 #462A2A #46462A
monochromatic
#0B0F13 #131920 #2A3846 #41576C #587593

Accessibility & contrast

On white

11.98
#2A3846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2A3846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3846
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3846#FFFFFF#000000##FFFFFF
##2A38461.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333847
Deuteranopia (green-blind)
#2F3546
Tritanopia (blue-blind)
#213B3D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3846;
/* rgb */ color: rgb(42, 56, 70);
/* oklch */ color: oklch(33.4% 0.031 248.8);
Tailwind
colors: {
  custom: {
    50: '#646e79',
    500: '#2a3846',
    950: '#000000',
  },
}
SCSS
$custom: #2a3846;
$custom-light: #646e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3846",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 70
  },
  "hsl": {
    "h": 210,
    "s": 25,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33435,
    "c": 0.03101,
    "h": 248.8
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#2A3846
secondary
#786654
accent
#9466C1
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050709
muted
#7A7A7B

Preview Lab

Preview with #2A3846

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

Preview Lab → · Contrast checker → · Palette generator →

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