#12545E#12545E

#12545E is a dark, moderate teal. Relative luminance 0.073; OKLCH L 41.1% C 0.064 H 210.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#12545E
RGBrgb(18, 84, 94)
HSLhsl(188, 68%, 22%)
HSVhsv(188, 81%, 37%)
CMYKcmyk(80.9%, 10.6%, 0%, 63.1%)
CIE-LABlab(32.43, -16.06, -11.60)
CIE-LCHlch(32.43, 19.81, 215.83°)
OKLaboklab(41.12% -0.0558 -0.0323)
OKLCHoklch(41.12% 0.064 210.1)
XYZxyz(5.4393, 7.2767, 11.7054)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12545E #5E1C12
analogous
#125E42 #12545E #122E5E
triadic
#12545E #5E1254 #545E12
tetradic
#12545E #42125E #5E1C12 #2E5E12
square
#12545E #42125E #5E1C12 #2E5E12
split-complementary
#12545E #5E122E #5E4212
monochromatic
#05171A #08262B #12545E #1C8291 #26B0C5

Accessibility & contrast

On white

8.55
#12545E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#12545E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12545E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12545E#FFFFFF#000000##FFFFFF
##12545E1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B515F
Deuteranopia (green-blind)
#41495E
Tritanopia (blue-blind)
#005857
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12545e;
/* rgb */ color: rgb(18, 84, 94);
/* oklch */ color: oklch(41.1% 0.064 210.1);
Tailwind
colors: {
  custom: {
    50: '#5e848b',
    500: '#12545e',
    950: '#000000',
  },
}
SCSS
$custom: #12545e;
$custom-light: #5e848b;
$custom-dark: #000000;
JSON
{
  "hex": "#12545e",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 94
  },
  "hsl": {
    "h": 187.895,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.06447,
    "h": 210.1
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#12545E
secondary
#964235
accent
#543DEB
background
#F5F8F8
surface
#EAEFF0
border
#C6CACB
text
#050B0C
muted
#797C7D

Preview Lab

Preview with #12545E

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

Preview Lab → · Contrast checker → · Palette generator →

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