#12545B#12545B

#12545B is a dark, moderate teal. Relative luminance 0.072; OKLCH L 41.0% C 0.063 H 205.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#12545B
RGBrgb(18, 84, 91)
HSLhsl(186, 67%, 21%)
HSVhsv(186, 80%, 36%)
CMYKcmyk(80.2%, 7.7%, 0%, 64.3%)
CIE-LABlab(32.31, -17.13, -9.88)
CIE-LCHlch(32.31, 19.77, 209.98°)
OKLaboklab(40.99% -0.0572 -0.0275)
OKLCHoklch(40.99% 0.063 205.6)
XYZxyz(5.3073, 7.2239, 11.0101)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12545B #5B1912
analogous
#125B3E #12545B #12305B
triadic
#12545B #5B1254 #545B12
tetradic
#12545B #3E125B #5B1912 #305B12
square
#12545B #3E125B #5B1912 #305B12
split-complementary
#12545B #5B1230 #5B3E12
monochromatic
#05181A #082528 #12545B #1C838E #26B2C1

Accessibility & contrast

On white

8.59
#12545B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#12545B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12545B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12545B#FFFFFF#000000##FFFFFF
##12545B1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505B
Deuteranopia (green-blind)
#42495B
Tritanopia (blue-blind)
#005856
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12545b;
/* rgb */ color: rgb(18, 84, 91);
/* oklch */ color: oklch(41.0% 0.063 205.6);
Tailwind
colors: {
  custom: {
    50: '#5e8489',
    500: '#12545b',
    950: '#000000',
  },
}
SCSS
$custom: #12545b;
$custom-light: #5e8489;
$custom-dark: #000000;
JSON
{
  "hex": "#12545b",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 91
  },
  "hsl": {
    "h": 185.753,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40988,
    "c": 0.06348,
    "h": 205.6
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#12545B
secondary
#933E35
accent
#4E3EEA
background
#F5F8F8
surface
#EAEFF0
border
#C6CACB
text
#050B0B
muted
#797C7C

Preview Lab

Preview with #12545B

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

Preview Lab → · Contrast checker → · Palette generator →

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