#12757D#12757D

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

Color values

HEX#12757D
RGBrgb(18, 117, 125)
HSLhsl(184, 75%, 28%)
HSVhsv(184, 86%, 49%)
CMYKcmyk(85.6%, 6.4%, 0%, 51%)
CIE-LABlab(44.70, -23.19, -12.02)
CIE-LCHlch(44.70, 26.12, 207.40°)
OKLaboklab(51.44% -0.0765 -0.0334)
OKLCHoklch(51.44% 0.083 203.6)
XYZxyz(10.3107, 14.3305, 21.6207)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12757D #7D1A12
analogous
#127D4F #12757D #123F7D
triadic
#12757D #7D1275 #757D12
tetradic
#12757D #4F127D #7D1A12 #3F7D12
square
#12757D #4F127D #7D1A12 #3F7D12
split-complementary
#12757D #7D123F #7D4F12
monochromatic
#04191B #0A4348 #12757D #1AA7B2 #29D3E0

Accessibility & contrast

On white

5.43
#12757D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12757D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12757D#FFFFFF#000000##FFFFFF
##12757D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12757d;
/* rgb */ color: rgb(18, 117, 125);
/* oklch */ color: oklch(51.4% 0.083 203.6);
Tailwind
colors: {
  custom: {
    50: '#679da2',
    500: '#12757d',
    950: '#000000',
  },
}
SCSS
$custom: #12757d;
$custom-light: #679da2;
$custom-dark: #000000;
JSON
{
  "hex": "#12757d",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 125
  },
  "hsl": {
    "h": 184.486,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.08348,
    "h": 203.6
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#12757D
secondary
#B34138
accent
#4436F1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0F
muted
#7A7E7E

Preview Lab

Preview with #12757D

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

Preview Lab → · Contrast checker → · Palette generator →

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