#12757F#12757F

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

Color values

HEX#12757F
RGBrgb(18, 117, 127)
HSLhsl(186, 75%, 28%)
HSVhsv(186, 86%, 50%)
CMYKcmyk(85.8%, 7.9%, 0%, 50.2%)
CIE-LABlab(44.78, -22.51, -13.10)
CIE-LCHlch(44.78, 26.05, 210.20°)
OKLaboklab(51.53% -0.0756 -0.0365)
OKLCHoklch(51.53% 0.084 205.8)
XYZxyz(10.4398, 14.3821, 22.3004)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12757F #7F1C12
analogous
#127F52 #12757F #123E7F
triadic
#12757F #7F1275 #757F12
tetradic
#12757F #52127F #7F1C12 #3E7F12
square
#12757F #52127F #7F1C12 #3E7F12
split-complementary
#12757F #7F123E #7F5212
monochromatic
#04191B #0A4449 #12757F #1AA6B5 #2BD0E1

Accessibility & contrast

On white

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

On black

3.88
#12757F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##12757F#FFFFFF#000000##FFFFFF
##12757F1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7080
Deuteranopia (green-blind)
#5C657F
Tritanopia (blue-blind)
#007B78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #12757f;
/* rgb */ color: rgb(18, 117, 127);
/* oklch */ color: oklch(51.5% 0.084 205.8);
Tailwind
colors: {
  custom: {
    50: '#689da4',
    500: '#12757f',
    950: '#000000',
  },
}
SCSS
$custom: #12757f;
$custom-light: #689da4;
$custom-dark: #000000;
JSON
{
  "hex": "#12757f",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 127
  },
  "hsl": {
    "h": 185.505,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51525,
    "c": 0.08392,
    "h": 205.8
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#12757F
secondary
#B54438
accent
#4736F2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #12757F

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

Preview Lab → · Contrast checker → · Palette generator →

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