#12403F#12403F

#12403F is a dark, muted teal. Relative luminance 0.042; OKLCH L 34.1% C 0.049 H 193.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#12403F
RGBrgb(18, 64, 63)
HSLhsl(179, 56%, 16%)
HSVhsv(179, 72%, 25%)
CMYKcmyk(71.9%, 0%, 1.6%, 74.9%)
CIE-LABlab(24.17, -15.51, -3.97)
CIE-LCHlch(24.17, 16.01, 194.37°)
OKLaboklab(34.05% -0.0476 -0.011)
OKLCHoklch(34.05% 0.049 193.1)
XYZxyz(2.9797, 4.1539, 5.3464)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12403F #401213
analogous
#124028 #12403F #122A40
triadic
#12403F #3F1240 #403F12
tetradic
#12403F #281240 #401213 #2A4012
square
#12403F #281240 #401213 #2A4012
split-complementary
#12403F #40122A #402812
monochromatic
#071818 #071818 #12403F #1F706E #2DA09D

Accessibility & contrast

On white

11.47
#12403F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#12403F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12403F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12403F#FFFFFF#000000##FFFFFF
##12403F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D3F
Deuteranopia (green-blind)
#35373F
Tritanopia (blue-blind)
#004240
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12403f;
/* rgb */ color: rgb(18, 64, 63);
/* oklch */ color: oklch(34.1% 0.049 193.1);
Tailwind
colors: {
  custom: {
    50: '#577574',
    500: '#12403f',
    950: '#000000',
  },
}
SCSS
$custom: #12403f;
$custom-light: #577574;
$custom-dark: #000000;
JSON
{
  "hex": "#12403f",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 63
  },
  "hsl": {
    "h": 178.696,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34054,
    "c": 0.04888,
    "h": 193.1
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#12403F
secondary
#793536
accent
#484CDF
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030808
muted
#787B7B

Preview Lab

Preview with #12403F

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

Preview Lab → · Contrast checker → · Palette generator →

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