#12818F#12818F

#12818F is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.4% C 0.092 H 208.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#12818F
RGBrgb(18, 129, 143)
HSLhsl(187, 78%, 32%)
HSVhsv(187, 87%, 56%)
CMYKcmyk(87.4%, 9.8%, 0%, 43.9%)
CIE-LABlab(49.27, -23.34, -15.75)
CIE-LCHlch(49.27, 28.16, 214.02°)
OKLaboklab(55.36% -0.0804 -0.0439)
OKLCHoklch(55.36% 0.092 208.6)
XYZxyz(13.0554, 17.8106, 28.7310)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12818F #8F2012
analogous
#128F5F #12818F #12438F
triadic
#12818F #8F1281 #818F12
tetradic
#12818F #5F128F #8F2012 #438F12
square
#12818F #5F128F #8F2012 #438F12
split-complementary
#12818F #8F1243 #8F5F12
monochromatic
#041F22 #0B5059 #12818F #19B2C5 #36D2E6

Accessibility & contrast

On white

4.60
#12818F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#12818F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #12818F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12818F#FFFFFF#000000##FFFFFF
##12818F1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747C90
Deuteranopia (green-blind)
#64708F
Tritanopia (blue-blind)
#008885
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #12818f;
/* rgb */ color: rgb(18, 129, 143);
/* oklch */ color: oklch(55.4% 0.092 208.6);
Tailwind
colors: {
  custom: {
    50: '#6ca6af',
    500: '#12818f',
    950: '#000000',
  },
}
SCSS
$custom: #12818f;
$custom-light: #6ca6af;
$custom-dark: #000000;
JSON
{
  "hex": "#12818f",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 143
  },
  "hsl": {
    "h": 186.72,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.09166,
    "h": 208.6
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#12818F
secondary
#C3493A
accent
#4934F4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #12818F

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

Preview Lab → · Contrast checker → · Palette generator →

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