#12768E#12768E

#12768E is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.5% C 0.091 H 219.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#12768E
RGBrgb(18, 118, 142)
HSLhsl(192, 78%, 31%)
HSVhsv(192, 87%, 56%)
CMYKcmyk(87.3%, 16.9%, 0%, 44.3%)
CIE-LABlab(45.68, -17.81, -20.64)
CIE-LCHlch(45.68, 27.26, 229.21°)
OKLaboklab(52.45% -0.07 -0.0578)
OKLCHoklch(52.45% 0.091 219.6)
XYZxyz(11.6083, 15.0370, 27.8765)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12768E #8E2A12
analogous
#128E68 #12768E #12388E
triadic
#12768E #8E1276 #768E12
tetradic
#12768E #68128E #8E2A12 #388E12
square
#12768E #68128E #8E2A12 #388E12
split-complementary
#12768E #8E1238 #8E6812
monochromatic
#041C21 #0B4958 #12768E #19A3C4 #35C3E5

Accessibility & contrast

On white

5.24
#12768E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#12768E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12768E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12768E#FFFFFF#000000##FFFFFF
##12768E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67738F
Deuteranopia (green-blind)
#58678E
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #12768e;
/* rgb */ color: rgb(18, 118, 142);
/* oklch */ color: oklch(52.5% 0.091 219.6);
Tailwind
colors: {
  custom: {
    50: '#6a9daf',
    500: '#12768e',
    950: '#000000',
  },
}
SCSS
$custom: #12768e;
$custom-light: #6a9daf;
$custom-dark: #000000;
JSON
{
  "hex": "#12768e",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 142
  },
  "hsl": {
    "h": 191.613,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.09084,
    "h": 219.6
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#12768E
secondary
#C2543A
accent
#5934F4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #12768E

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

Preview Lab → · Contrast checker → · Palette generator →

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