#12535F#12535F

#12535F is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.9% C 0.065 H 213.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#12535F
RGBrgb(18, 83, 95)
HSLhsl(189, 68%, 22%)
HSVhsv(189, 81%, 37%)
CMYKcmyk(81.1%, 12.6%, 0%, 62.7%)
CIE-LABlab(32.13, -15.13, -12.70)
CIE-LCHlch(32.13, 19.75, 219.99°)
OKLaboklab(40.89% -0.0542 -0.0354)
OKLCHoklch(40.89% 0.065 213.1)
XYZxyz(5.4074, 7.1407, 11.9176)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12535F #5F1E12
analogous
#125F45 #12535F #122C5F
triadic
#12535F #5F1253 #535F12
tetradic
#12535F #45125F #5F1E12 #2C5F12
square
#12535F #45125F #5F1E12 #2C5F12
split-complementary
#12535F #5F122C #5F4512
monochromatic
#05161A #08262C #12535F #1C8092 #25ADC6

Accessibility & contrast

On white

8.65
#12535F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#12535F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12535F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12535F#FFFFFF#000000##FFFFFF
##12535F1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#40485F
Tritanopia (blue-blind)
#005857
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12535f;
/* rgb */ color: rgb(18, 83, 95);
/* oklch */ color: oklch(40.9% 0.065 213.1);
Tailwind
colors: {
  custom: {
    50: '#5e838c',
    500: '#12535f',
    950: '#000000',
  },
}
SCSS
$custom: #12535f;
$custom-light: #5e838c;
$custom-dark: #000000;
JSON
{
  "hex": "#12535f",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 95
  },
  "hsl": {
    "h": 189.351,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4089,
    "c": 0.06476,
    "h": 213.1
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#12535F
secondary
#974536
accent
#583DEB
background
#F5F8F8
surface
#EAEFF0
border
#C6CACB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #12535F

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

Preview Lab → · Contrast checker → · Palette generator →

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