#12838E#12838E

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

Color values

HEX#12838E
RGBrgb(18, 131, 142)
HSLhsl(185, 78%, 31%)
HSVhsv(185, 87%, 56%)
CMYKcmyk(87.3%, 7.7%, 0%, 44.3%)
CIE-LABlab(49.87, -24.71, -14.25)
CIE-LCHlch(49.87, 28.52, 209.97°)
OKLaboklab(55.83% -0.0829 -0.0397)
OKLCHoklch(55.83% 0.092 205.6)
XYZxyz(13.2460, 18.3125, 28.4225)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12838E #8E1D12
analogous
#128E5B #12838E #12458E
triadic
#12838E #8E1283 #838E12
tetradic
#12838E #5B128E #8E1D12 #458E12
square
#12838E #5B128E #8E1D12 #458E12
split-complementary
#12838E #8E1245 #8E5B12
monochromatic
#041F21 #0B5158 #12838E #19B5C4 #35D6E5

Accessibility & contrast

On white

4.50
#12838E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#12838E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #12838E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12838E#FFFFFF#000000##000000
##12838E1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#777D8F
Deuteranopia (green-blind)
#67728E
Tritanopia (blue-blind)
#008986
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #12838e;
/* rgb */ color: rgb(18, 131, 142);
/* oklch */ color: oklch(55.8% 0.092 205.6);
Tailwind
colors: {
  custom: {
    50: '#6ca7af',
    500: '#12838e',
    950: '#000000',
  },
}
SCSS
$custom: #12838e;
$custom-light: #6ca7af;
$custom-dark: #000000;
JSON
{
  "hex": "#12838e",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 142
  },
  "hsl": {
    "h": 185.323,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55834,
    "c": 0.09188,
    "h": 205.6
  },
  "luminance": 0.18314
}

Semantic roles & 50–950 ramp

primary
#12838E
secondary
#C2463A
accent
#4534F4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #12838E

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

Preview Lab → · Contrast checker → · Palette generator →

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