#2A3840#2A3840

#2A3840 is a dark, muted cyan. Relative luminance 0.037; OKLCH L 33.2% C 0.023 H 233.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2A3840
RGBrgb(42, 56, 64)
HSLhsl(202, 21%, 21%)
HSVhsv(202, 34%, 25%)
CMYKcmyk(34.4%, 12.5%, 0%, 74.9%)
CIE-LABlab(22.62, -3.45, -6.84)
CIE-LCHlch(22.62, 7.66, 243.22°)
OKLaboklab(33.16% -0.0139 -0.0187)
OKLCHoklch(33.16% 0.023 233.4)
XYZxyz(3.2941, 3.6906, 5.3883)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3840 #40322A
analogous
#2A403D #2A3840 #2A2D40
triadic
#2A3840 #402A38 #38402A
tetradic
#2A3840 #3D2A40 #40322A #2D402A
square
#2A3840 #3D2A40 #40322A #2D402A
split-complementary
#2A3840 #402A2D #403D2A
monochromatic
#0C1012 #12181B #2A3840 #425865 #5A798A

Accessibility & contrast

On white

12.08
#2A3840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2A3840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3840
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3840#FFFFFF#000000##FFFFFF
##2A38401.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343740
Deuteranopia (green-blind)
#313540
Tritanopia (blue-blind)
#233A3B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3840;
/* rgb */ color: rgb(42, 56, 64);
/* oklch */ color: oklch(33.2% 0.023 233.4);
Tailwind
colors: {
  custom: {
    50: '#646e74',
    500: '#2a3840',
    950: '#000000',
  },
}
SCSS
$custom: #2a3840;
$custom-light: #646e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3840",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 201.818,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33156,
    "c": 0.0233,
    "h": 233.4
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#2A3840
secondary
#715F55
accent
#896ABD
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050708
muted
#7A7A7B

Preview Lab

Preview with #2A3840

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

Preview Lab → · Contrast checker → · Palette generator →

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