#12362F#12362F

#12362F is a dark, muted teal. Relative luminance 0.030; OKLCH L 30.4% C 0.043 H 178.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#12362F
RGBrgb(18, 54, 47)
HSLhsl(168, 50%, 14%)
HSVhsv(168, 67%, 21%)
CMYKcmyk(66.7%, 0%, 13%, 78.8%)
CIE-LABlab(19.93, -14.99, 0.54)
CIE-LCHlch(19.93, 15.00, 177.95°)
OKLaboklab(30.43% -0.0433 0.0012)
OKLCHoklch(30.43% 0.043 178.4)
XYZxyz(2.0815, 2.9720, 3.1527)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12362F #361219
analogous
#12361D #12362F #122B36
triadic
#12362F #2F1236 #362F12
tetradic
#12362F #1D1236 #361219 #2B3612
square
#12362F #1D1236 #361219 #2B3612
split-complementary
#12362F #36122B #361D12
monochromatic
#081714 #081714 #12362F #216457 #31927F

Accessibility & contrast

On white

13.17
#12362F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#12362F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12362F
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12362F#FFFFFF#000000##FFFFFF
##12362F1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332F
Deuteranopia (green-blind)
#2E2E30
Tritanopia (blue-blind)
#003734
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #12362f;
/* rgb */ color: rgb(18, 54, 47);
/* oklch */ color: oklch(30.4% 0.043 178.4);
Tailwind
colors: {
  custom: {
    50: '#546d67',
    500: '#12362f',
    950: '#000000',
  },
}
SCSS
$custom: #12362f;
$custom-light: #546d67;
$custom-dark: #000000;
JSON
{
  "hex": "#12362f",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 47
  },
  "hsl": {
    "h": 168.333,
    "s": 50,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3043,
    "c": 0.04329,
    "h": 178.4
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#12362F
secondary
#6F3540
accent
#4E69DA
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#030706
muted
#787A7A

Preview Lab

Preview with #12362F

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

Preview Lab → · Contrast checker → · Palette generator →

#12362F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva