#12768D#12768D

#12768D is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.4% C 0.090 H 218.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#12768D
RGBrgb(18, 118, 141)
HSLhsl(191, 77%, 31%)
HSVhsv(191, 87%, 55%)
CMYKcmyk(87.2%, 16.3%, 0%, 44.7%)
CIE-LABlab(45.64, -18.17, -20.11)
CIE-LCHlch(45.64, 27.10, 227.91°)
OKLaboklab(52.41% -0.0705 -0.0563)
OKLCHoklch(52.41% 0.09 218.6)
XYZxyz(11.5335, 15.0071, 27.4829)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12768D #8D2912
analogous
#128D66 #12768D #12388D
triadic
#12768D #8D1276 #768D12
tetradic
#12768D #66128D #8D2912 #388D12
square
#12768D #66128D #8D2912 #388D12
split-complementary
#12768D #8D1238 #8D6612
monochromatic
#041B20 #0B4957 #12768D #19A3C3 #34C4E5

Accessibility & contrast

On white

5.25
#12768D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#12768D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12768D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12768D#FFFFFF#000000##FFFFFF
##12768D1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68728E
Deuteranopia (green-blind)
#58678D
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #12768d;
/* rgb */ color: rgb(18, 118, 141);
/* oklch */ color: oklch(52.4% 0.090 218.6);
Tailwind
colors: {
  custom: {
    50: '#6a9dae',
    500: '#12768d',
    950: '#000000',
  },
}
SCSS
$custom: #12768d;
$custom-light: #6a9dae;
$custom-dark: #000000;
JSON
{
  "hex": "#12768d",
  "rgb": {
    "r": 18,
    "g": 118,
    "b": 141
  },
  "hsl": {
    "h": 191.22,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52405,
    "c": 0.09021,
    "h": 218.6
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#12768D
secondary
#C15339
accent
#5834F4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #12768D

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

Preview Lab → · Contrast checker → · Palette generator →

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