#12545F#12545F

#12545F is a dark, moderate teal. Relative luminance 0.073; OKLCH L 41.2% C 0.065 H 211.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#12545F
RGBrgb(18, 84, 95)
HSLhsl(189, 68%, 22%)
HSVhsv(189, 81%, 37%)
CMYKcmyk(81.1%, 11.6%, 0%, 62.7%)
CIE-LABlab(32.47, -15.71, -12.17)
CIE-LCHlch(32.47, 19.87, 217.77°)
OKLaboklab(41.17% -0.0553 -0.0339)
OKLCHoklch(41.17% 0.065 211.5)
XYZxyz(5.4844, 7.2948, 11.9432)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12545F #5F1D12
analogous
#125F43 #12545F #122E5F
triadic
#12545F #5F1254 #545F12
tetradic
#12545F #43125F #5F1D12 #2E5F12
square
#12545F #43125F #5F1D12 #2E5F12
split-complementary
#12545F #5F122E #5F4312
monochromatic
#05171A #08272C #12545F #1C8192 #25AFC6

Accessibility & contrast

On white

8.54
#12545F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12545F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12545F#FFFFFF#000000##FFFFFF
##12545F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#41495F
Tritanopia (blue-blind)
#005957
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12545f;
/* rgb */ color: rgb(18, 84, 95);
/* oklch */ color: oklch(41.2% 0.065 211.5);
Tailwind
colors: {
  custom: {
    50: '#5e848c',
    500: '#12545f',
    950: '#000000',
  },
}
SCSS
$custom: #12545f;
$custom-light: #5e848c;
$custom-dark: #000000;
JSON
{
  "hex": "#12545f",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 95
  },
  "hsl": {
    "h": 188.571,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41168,
    "c": 0.0649,
    "h": 211.5
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#12545F
secondary
#974436
accent
#563DEB
background
#F5F8F8
surface
#EAEFF0
border
#C6CACB
text
#050B0C
muted
#797C7D

Preview Lab

Preview with #12545F

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

Preview Lab → · Contrast checker → · Palette generator →

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