#12838C#12838C

#12838C is a mid, moderate teal. Relative luminance 0.183; OKLCH L 55.8% C 0.091 H 203.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#12838C
RGBrgb(18, 131, 140)
HSLhsl(184, 77%, 31%)
HSVhsv(184, 87%, 55%)
CMYKcmyk(87.1%, 6.4%, 0%, 45.1%)
CIE-LABlab(49.80, -25.37, -13.18)
CIE-LCHlch(49.80, 28.59, 207.46°)
OKLaboklab(55.75% -0.0838 -0.0367)
OKLCHoklch(55.75% 0.091 203.7)
XYZxyz(13.0972, 18.2530, 27.6387)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12838C #8C1B12
analogous
#128C58 #12838C #12468C
triadic
#12838C #8C1283 #838C12
tetradic
#12838C #58128C #8C1B12 #468C12
square
#12838C #58128C #8C1B12 #468C12
split-complementary
#12838C #8C1246 #8C5812
monochromatic
#041E20 #0B5056 #12838C #19B6C2 #34D8E5

Accessibility & contrast

On white

4.52
#12838C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#12838C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #12838C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12838C#FFFFFF#000000##000000
##12838C1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#777D8D
Deuteranopia (green-blind)
#68728C
Tritanopia (blue-blind)
#008986
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #12838c;
/* rgb */ color: rgb(18, 131, 140);
/* oklch */ color: oklch(55.8% 0.091 203.7);
Tailwind
colors: {
  custom: {
    50: '#6ba7ad',
    500: '#12838c',
    950: '#000000',
  },
}
SCSS
$custom: #12838c;
$custom-light: #6ba7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#12838c",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 140
  },
  "hsl": {
    "h": 184.426,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55753,
    "c": 0.09145,
    "h": 203.7
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#12838C
secondary
#C04339
accent
#4234F4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #12838C

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

Preview Lab → · Contrast checker → · Palette generator →

#12838C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva