#12768F#12768F

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

Color values

HEX#12768F
RGBrgb(18, 118, 143)
HSLhsl(192, 78%, 32%)
HSVhsv(192, 87%, 56%)
CMYKcmyk(87.4%, 17.5%, 0%, 43.9%)
CIE-LABlab(45.73, -17.45, -21.17)
CIE-LCHlch(45.73, 27.44, 230.50°)
OKLaboklab(52.5% -0.0696 -0.0593)
OKLCHoklch(52.5% 0.091 220.4)
XYZxyz(11.6837, 15.0671, 28.2737)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12768F #8F2B12
analogous
#128F6A #12768F #12388F
triadic
#12768F #8F1276 #768F12
tetradic
#12768F #6A128F #8F2B12 #388F12
square
#12768F #6A128F #8F2B12 #388F12
split-complementary
#12768F #8F1238 #8F6A12
monochromatic
#041C22 #0B4959 #12768F #19A3C5 #36C2E6

Accessibility & contrast

On white

5.23
#12768F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12768F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12768F#FFFFFF#000000##FFFFFF
##12768F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677390
Deuteranopia (green-blind)
#57678F
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #12768f;
/* rgb */ color: rgb(18, 118, 143);
/* oklch */ color: oklch(52.5% 0.091 220.4);
Tailwind
colors: {
  custom: {
    50: '#6a9daf',
    500: '#12768f',
    950: '#000000',
  },
}
SCSS
$custom: #12768f;
$custom-light: #6a9daf;
$custom-dark: #000000;
JSON
{
  "hex": "#12768f",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 143
  },
  "hsl": {
    "h": 192,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.09149,
    "h": 220.4
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#12768F
secondary
#C3553A
accent
#5A34F4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #12768F

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

Preview Lab → · Contrast checker → · Palette generator →

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