#12778F#12778F

#12778F is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 52.8% C 0.091 H 219.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#12778F
RGBrgb(18, 119, 143)
HSLhsl(192, 78%, 32%)
HSVhsv(192, 87%, 56%)
CMYKcmyk(87.4%, 16.8%, 0%, 43.9%)
CIE-LABlab(46.05, -18.00, -20.68)
CIE-LCHlch(46.05, 27.41, 228.96°)
OKLaboklab(52.76% -0.0706 -0.0579)
OKLCHoklch(52.76% 0.091 219.4)
XYZxyz(11.8021, 15.3039, 28.3132)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12778F #8F2A12
analogous
#128F69 #12778F #12398F
triadic
#12778F #8F1277 #778F12
tetradic
#12778F #69128F #8F2A12 #398F12
square
#12778F #69128F #8F2A12 #398F12
split-complementary
#12778F #8F1239 #8F6912
monochromatic
#041D22 #0B4A59 #12778F #19A4C5 #36C4E6

Accessibility & contrast

On white

5.17
#12778F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#12778F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12778F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12778F#FFFFFF#000000##FFFFFF
##12778F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687390
Deuteranopia (green-blind)
#58688F
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #12778f;
/* rgb */ color: rgb(18, 119, 143);
/* oklch */ color: oklch(52.8% 0.091 219.4);
Tailwind
colors: {
  custom: {
    50: '#6a9eaf',
    500: '#12778f',
    950: '#000000',
  },
}
SCSS
$custom: #12778f;
$custom-light: #6a9eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#12778f",
  "rgb": {
    "r": 18,
    "g": 119,
    "b": 143
  },
  "hsl": {
    "h": 191.52,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.09133,
    "h": 219.4
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#12778F
secondary
#C3543A
accent
#5934F4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #12778F

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

Preview Lab → · Contrast checker → · Palette generator →

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