#12757B#12757B

#12757B is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.4% C 0.083 H 201.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#12757B
RGBrgb(18, 117, 123)
HSLhsl(183, 74%, 28%)
HSVhsv(183, 85%, 48%)
CMYKcmyk(85.4%, 4.9%, 0%, 51.8%)
CIE-LABlab(44.63, -23.86, -10.93)
CIE-LCHlch(44.63, 26.25, 204.62°)
OKLaboklab(51.36% -0.0774 -0.0304)
OKLCHoklch(51.36% 0.083 201.4)
XYZxyz(10.1843, 14.2799, 20.9546)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12757B #7B1812
analogous
#127B4D #12757B #12407B
triadic
#12757B #7B1275 #757B12
tetradic
#12757B #4D127B #7B1812 #407B12
square
#12757B #4D127B #7B1812 #407B12
split-complementary
#12757B #7B1240 #7B4D12
monochromatic
#04191B #0A4246 #12757B #1AA8B0 #28D5E0

Accessibility & contrast

On white

5.45
#12757B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#12757B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12757B
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12757B#FFFFFF#000000##FFFFFF
##12757B1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6F7B
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#007A77
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #12757b;
/* rgb */ color: rgb(18, 117, 123);
/* oklch */ color: oklch(51.4% 0.083 201.4);
Tailwind
colors: {
  custom: {
    50: '#679da1',
    500: '#12757b',
    950: '#000000',
  },
}
SCSS
$custom: #12757b;
$custom-light: #679da1;
$custom-dark: #000000;
JSON
{
  "hex": "#12757b",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 123
  },
  "hsl": {
    "h": 183.429,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.08318,
    "h": 201.4
  },
  "luminance": 0.14281
}

Semantic roles & 50–950 ramp

primary
#12757B
secondary
#B13F38
accent
#4137F1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #12757B

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

Preview Lab → · Contrast checker → · Palette generator →

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