#12687F#12687F

#12687F is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.1% C 0.083 H 221.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#12687F
RGBrgb(18, 104, 127)
HSLhsl(193, 75%, 28%)
HSVhsv(193, 86%, 50%)
CMYKcmyk(85.8%, 18.1%, 0%, 50.2%)
CIE-LABlab(40.51, -15.43, -19.63)
CIE-LCHlch(40.51, 24.97, 231.82°)
OKLaboklab(48.08% -0.0624 -0.055)
OKLCHoklch(48.08% 0.083 221.4)
XYZxyz(9.0289, 11.5604, 21.8301)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12687F #7F2912
analogous
#127F5F #12687F #12317F
triadic
#12687F #7F1268 #687F12
tetradic
#12687F #5F127F #7F2912 #317F12
square
#12687F #5F127F #7F2912 #317F12
split-complementary
#12687F #7F1231 #7F5F12
monochromatic
#04161B #0A3C49 #12687F #1A94B5 #2BBAE1

Accessibility & contrast

On white

6.34
#12687F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#12687F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12687F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12687F#FFFFFF#000000##FFFFFF
##12687F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6580
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#006F6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #12687f;
/* rgb */ color: rgb(18, 104, 127);
/* oklch */ color: oklch(48.1% 0.083 221.4);
Tailwind
colors: {
  custom: {
    50: '#6693a4',
    500: '#12687f',
    950: '#000000',
  },
}
SCSS
$custom: #12687f;
$custom-light: #6693a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12687f",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 127
  },
  "hsl": {
    "h": 192.661,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48081,
    "c": 0.08317,
    "h": 221.4
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#12687F
secondary
#B55238
accent
#5E36F2
background
#F6F9FA
surface
#EBF1F4
border
#C6CBCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #12687F

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

Preview Lab → · Contrast checker → · Palette generator →

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