#12757E#12757E

#12757E is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.5% C 0.084 H 204.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#12757E
RGBrgb(18, 117, 126)
HSLhsl(185, 75%, 28%)
HSVhsv(185, 86%, 49%)
CMYKcmyk(85.7%, 7.1%, 0%, 50.6%)
CIE-LABlab(44.74, -22.85, -12.56)
CIE-LCHlch(44.74, 26.08, 208.80°)
OKLaboklab(51.48% -0.076 -0.035)
OKLCHoklch(51.48% 0.084 204.7)
XYZxyz(10.3749, 14.3562, 21.9588)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12757E #7E1B12
analogous
#127E51 #12757E #123F7E
triadic
#12757E #7E1275 #757E12
tetradic
#12757E #51127E #7E1B12 #3F7E12
square
#12757E #51127E #7E1B12 #3F7E12
split-complementary
#12757E #7E123F #7E5112
monochromatic
#04191B #0A4348 #12757E #1AA7B4 #2AD1E1

Accessibility & contrast

On white

5.42
#12757E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#12757E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12757E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12757E#FFFFFF#000000##FFFFFF
##12757E1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A707F
Deuteranopia (green-blind)
#5C657E
Tritanopia (blue-blind)
#007A78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #12757e;
/* rgb */ color: rgb(18, 117, 126);
/* oklch */ color: oklch(51.5% 0.084 204.7);
Tailwind
colors: {
  custom: {
    50: '#689da3',
    500: '#12757e',
    950: '#000000',
  },
}
SCSS
$custom: #12757e;
$custom-light: #689da3;
$custom-dark: #000000;
JSON
{
  "hex": "#12757e",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 126
  },
  "hsl": {
    "h": 185,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51483,
    "c": 0.08369,
    "h": 204.7
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#12757E
secondary
#B44238
accent
#4636F2
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12757E

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

Preview Lab → · Contrast checker → · Palette generator →

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