#12535C#12535C

#12535C is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.8% C 0.063 H 208.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#12535C
RGBrgb(18, 83, 92)
HSLhsl(187, 67%, 22%)
HSVhsv(187, 80%, 36%)
CMYKcmyk(80.4%, 9.8%, 0%, 63.9%)
CIE-LABlab(32.00, -16.21, -10.98)
CIE-LCHlch(32.00, 19.58, 214.11°)
OKLaboklab(40.75% -0.0556 -0.0305)
OKLCHoklch(40.75% 0.063 208.8)
XYZxyz(5.2736, 7.0872, 11.2132)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12535C #5C1B12
analogous
#125C40 #12535C #122E5C
triadic
#12535C #5C1253 #535C12
tetradic
#12535C #40125C #5C1B12 #2E5C12
square
#12535C #40125C #5C1B12 #2E5C12
split-complementary
#12535C #5C122E #5C4012
monochromatic
#05171A #082529 #12535C #1C818F #26AFC2

Accessibility & contrast

On white

8.69
#12535C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#12535C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12535C
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12535C#FFFFFF#000000##FFFFFF
##12535C1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505D
Deuteranopia (green-blind)
#41485C
Tritanopia (blue-blind)
#005756
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12535c;
/* rgb */ color: rgb(18, 83, 92);
/* oklch */ color: oklch(40.8% 0.063 208.8);
Tailwind
colors: {
  custom: {
    50: '#5e838a',
    500: '#12535c',
    950: '#000000',
  },
}
SCSS
$custom: #12535c;
$custom-light: #5e838a;
$custom-dark: #000000;
JSON
{
  "hex": "#12535c",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 92
  },
  "hsl": {
    "h": 187.297,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.06347,
    "h": 208.8
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#12535C
secondary
#944135
accent
#533EEA
background
#F5F8F8
surface
#EAEFF0
border
#C6CACB
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #12535C

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

Preview Lab → · Contrast checker → · Palette generator →

#12535C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva