#1B412F#1B412F

#1B412F is a dark, muted teal. Relative luminance 0.042; OKLCH L 34.2% C 0.054 H 160.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#1B412F
RGBrgb(27, 65, 47)
HSLhsl(152, 41%, 18%)
HSVhsv(152, 58%, 25%)
CMYKcmyk(58.5%, 0%, 27.7%, 74.5%)
CIE-LABlab(24.38, -18.63, 6.94)
CIE-LCHlch(24.38, 19.88, 159.58°)
OKLaboklab(34.15% -0.0513 0.0177)
OKLCHoklch(34.15% 0.054 160.9)
XYZxyz(2.8551, 4.2186, 3.3526)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B412F #411B2D
analogous
#1B411C #1B412F #1B4041
triadic
#1B412F #2F1B41 #412F1B
tetradic
#1B412F #1C1B41 #411B2D #40411B
square
#1B412F #1C1B41 #411B2D #40411B
split-complementary
#1B412F #411B40 #411C1B
monochromatic
#091610 #091610 #1B412F #2D6C4E #3F976E

Accessibility & contrast

On white

11.39
#1B412F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B412F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B412F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B412F#FFFFFF#000000##FFFFFF
##1B412F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2E
Deuteranopia (green-blind)
#3B3830
Tritanopia (blue-blind)
#0F413C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b412f;
/* rgb */ color: rgb(27, 65, 47);
/* oklch */ color: oklch(34.2% 0.054 160.9);
Tailwind
colors: {
  custom: {
    50: '#5b7667',
    500: '#1b412f',
    950: '#000000',
  },
}
SCSS
$custom: #1b412f;
$custom-light: #5b7667;
$custom-dark: #000000;
JSON
{
  "hex": "#1b412f",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 47
  },
  "hsl": {
    "h": 151.579,
    "s": 41.304,
    "l": 18.039
  },
  "oklch": {
    "l": 0.34153,
    "c": 0.05433,
    "h": 160.9
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#1B412F
secondary
#76415B
accent
#5791D1
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040806
muted
#797B7A

Preview Lab

Preview with #1B412F

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

Preview Lab → · Contrast checker → · Palette generator →

#1B412F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva