#12342B#12342B

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

Color values

HEX#12342B
RGBrgb(18, 52, 43)
HSLhsl(164, 49%, 14%)
HSVhsv(164, 65%, 20%)
CMYKcmyk(65.4%, 0%, 17.3%, 79.6%)
CIE-LABlab(19.05, -15.07, 1.99)
CIE-LCHlch(19.05, 15.20, 172.47°)
OKLaboklab(29.67% -0.0428 0.005)
OKLCHoklch(29.67% 0.043 173.3)
XYZxyz(1.9133, 2.7588, 2.7167)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12342B #34121B
analogous
#12341A #12342B #122C34
triadic
#12342B #2B1234 #342B12
tetradic
#12342B #1A1234 #34121B #2C3412
square
#12342B #1A1234 #34121B #2C3412
split-complementary
#12342B #34122C #341A12
monochromatic
#081713 #081713 #12342B #226151 #318F76

Accessibility & contrast

On white

13.53
#12342B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12342B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12342B#FFFFFF#000000##FFFFFF
##12342B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32302B
Deuteranopia (green-blind)
#2D2D2C
Tritanopia (blue-blind)
#023531
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12342b;
/* rgb */ color: rgb(18, 52, 43);
/* oklch */ color: oklch(29.7% 0.043 173.3);
Tailwind
colors: {
  custom: {
    50: '#546b64',
    500: '#12342b',
    950: '#000000',
  },
}
SCSS
$custom: #12342b;
$custom-light: #546b64;
$custom-dark: #000000;
JSON
{
  "hex": "#12342b",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 164.118,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29673,
    "c": 0.0431,
    "h": 173.3
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#12342B
secondary
#6C3544
accent
#5074D8
background
#F4F6F5
surface
#E8EBEA
border
#C4C6C6
text
#030605
muted
#787A79

Preview Lab

Preview with #12342B

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

Preview Lab → · Contrast checker → · Palette generator →

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