#12778E#12778E

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

Color values

HEX#12778E
RGBrgb(18, 119, 142)
HSLhsl(191, 78%, 31%)
HSVhsv(191, 87%, 56%)
CMYKcmyk(87.3%, 16.2%, 0%, 44.3%)
CIE-LABlab(46.01, -18.36, -20.15)
CIE-LCHlch(46.01, 27.26, 227.66°)
OKLaboklab(52.71% -0.071 -0.0564)
OKLCHoklch(52.71% 0.091 218.5)
XYZxyz(11.7267, 15.2737, 27.9160)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12778E #8E2912
analogous
#128E67 #12778E #12398E
triadic
#12778E #8E1277 #778E12
tetradic
#12778E #67128E #8E2912 #398E12
square
#12778E #67128E #8E2912 #398E12
split-complementary
#12778E #8E1239 #8E6712
monochromatic
#041C21 #0B4958 #12778E #19A5C4 #35C5E5

Accessibility & contrast

On white

5.18
#12778E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12778E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12778E#FFFFFF#000000##FFFFFF
##12778E1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68738F
Deuteranopia (green-blind)
#59688E
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #12778e;
/* rgb */ color: rgb(18, 119, 142);
/* oklch */ color: oklch(52.7% 0.091 218.5);
Tailwind
colors: {
  custom: {
    50: '#6a9eaf',
    500: '#12778e',
    950: '#000000',
  },
}
SCSS
$custom: #12778e;
$custom-light: #6a9eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#12778e",
  "rgb": {
    "r": 18,
    "g": 119,
    "b": 142
  },
  "hsl": {
    "h": 191.129,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.0907,
    "h": 218.5
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#12778E
secondary
#C2533A
accent
#5734F4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #12778E

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

Preview Lab → · Contrast checker → · Palette generator →

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