#2A403F#2A403F

#2A403F is a dark, muted teal. Relative luminance 0.045; OKLCH L 35.3% C 0.028 H 192.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2A403F
RGBrgb(42, 64, 63)
HSLhsl(177, 21%, 21%)
HSVhsv(177, 34%, 25%)
CMYKcmyk(34.4%, 0%, 1.6%, 74.9%)
CIE-LABlab(25.31, -8.85, -2.16)
CIE-LCHlch(25.31, 9.11, 193.70°)
OKLaboklab(35.28% -0.027 -0.0059)
OKLCHoklch(35.28% 0.028 192.4)
XYZxyz(3.6851, 4.5177, 5.3795)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A403F #402A2B
analogous
#2A4034 #2A403F #2A3640
triadic
#2A403F #3F2A40 #403F2A
tetradic
#2A403F #342A40 #402A2B #36402A
square
#2A403F #342A40 #402A2B #36402A
split-complementary
#2A403F #402A36 #40342A
monochromatic
#0C1212 #121B1B #2A403F #426563 #5A8A88

Accessibility & contrast

On white

11.03
#2A403F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A403F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A403F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A403F#FFFFFF#000000##FFFFFF
##2A403F1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E3F
Deuteranopia (green-blind)
#393B3F
Tritanopia (blue-blind)
#224140
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a403f;
/* rgb */ color: rgb(42, 64, 63);
/* oklch */ color: oklch(35.3% 0.028 192.4);
Tailwind
colors: {
  custom: {
    50: '#647474',
    500: '#2a403f',
    950: '#000000',
  },
}
SCSS
$custom: #2a403f;
$custom-light: #647474;
$custom-dark: #000000;
JSON
{
  "hex": "#2a403f",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 63
  },
  "hsl": {
    "h": 177.273,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35284,
    "c": 0.02766,
    "h": 192.4
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#2A403F
secondary
#715556
accent
#6A6EBD
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#050808
muted
#7A7B7B

Preview Lab

Preview with #2A403F

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

Preview Lab → · Contrast checker → · Palette generator →

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