#12838F#12838F

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

Color values

HEX#12838F
RGBrgb(18, 131, 143)
HSLhsl(186, 78%, 32%)
HSVhsv(186, 87%, 56%)
CMYKcmyk(87.4%, 8.4%, 0%, 43.9%)
CIE-LABlab(49.91, -24.37, -14.78)
CIE-LCHlch(49.91, 28.50, 211.23°)
OKLaboklab(55.88% -0.0824 -0.0412)
OKLCHoklch(55.88% 0.092 206.5)
XYZxyz(13.3215, 18.3426, 28.8196)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12838F #8F1E12
analogous
#128F5D #12838F #12458F
triadic
#12838F #8F1283 #838F12
tetradic
#12838F #5D128F #8F1E12 #458F12
square
#12838F #5D128F #8F1E12 #458F12
split-complementary
#12838F #8F1245 #8F5D12
monochromatic
#041F22 #0B5159 #12838F #19B5C5 #36D5E6

Accessibility & contrast

On white

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

On black

4.67
#12838F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #12838F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12838F#FFFFFF#000000##000000
##12838F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#777D90
Deuteranopia (green-blind)
#67728F
Tritanopia (blue-blind)
#008987
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #12838f;
/* rgb */ color: rgb(18, 131, 143);
/* oklch */ color: oklch(55.9% 0.092 206.5);
Tailwind
colors: {
  custom: {
    50: '#6ca7af',
    500: '#12838f',
    950: '#000000',
  },
}
SCSS
$custom: #12838f;
$custom-light: #6ca7af;
$custom-dark: #000000;
JSON
{
  "hex": "#12838f",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 143
  },
  "hsl": {
    "h": 185.76,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.09213,
    "h": 206.5
  },
  "luminance": 0.18344
}

Semantic roles & 50–950 ramp

primary
#12838F
secondary
#C3473A
accent
#4634F4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #12838F

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

Preview Lab → · Contrast checker → · Palette generator →

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