#12342C#12342C

#12342C is a dark, muted teal. Relative luminance 0.028; OKLCH L 29.7% C 0.042 H 175.5°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#12342C
RGBrgb(18, 52, 44)
HSLhsl(166, 49%, 14%)
HSVhsv(166, 65%, 20%)
CMYKcmyk(65.4%, 0%, 15.4%, 79.6%)
CIE-LABlab(19.08, -14.76, 1.35)
CIE-LCHlch(19.08, 14.82, 174.77°)
OKLaboklab(29.71% -0.0422 0.0034)
OKLCHoklch(29.71% 0.042 175.5)
XYZxyz(1.9319, 2.7662, 2.8145)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12342C #34121A
analogous
#12341B #12342C #122B34
triadic
#12342C #2C1234 #342C12
tetradic
#12342C #1B1234 #34121A #2B3412
square
#12342C #1B1234 #34121A #2B3412
split-complementary
#12342C #34122B #341B12
monochromatic
#081713 #081713 #12342C #226152 #318F79

Accessibility & contrast

On white

13.52
#12342C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#12342C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12342C
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12342C#FFFFFF#000000##FFFFFF
##12342C1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312C
Deuteranopia (green-blind)
#2D2D2D
Tritanopia (blue-blind)
#023532
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12342c;
/* rgb */ color: rgb(18, 52, 44);
/* oklch */ color: oklch(29.7% 0.042 175.5);
Tailwind
colors: {
  custom: {
    50: '#546b65',
    500: '#12342c',
    950: '#000000',
  },
}
SCSS
$custom: #12342c;
$custom-light: #546b65;
$custom-dark: #000000;
JSON
{
  "hex": "#12342c",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 165.882,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29709,
    "c": 0.04236,
    "h": 175.5
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#12342C
secondary
#6C3542
accent
#5070D8
background
#F4F6F6
surface
#E8EBEB
border
#C4C6C6
text
#030605
muted
#787A7A

Preview Lab

Preview with #12342C

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

Preview Lab → · Contrast checker → · Palette generator →

#12342C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva