#12798F#12798F

#12798F is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.3% C 0.091 H 217.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#12798F
RGBrgb(18, 121, 143)
HSLhsl(191, 78%, 32%)
HSVhsv(191, 87%, 56%)
CMYKcmyk(87.4%, 15.4%, 0%, 43.9%)
CIE-LABlab(46.69, -19.09, -19.69)
CIE-LCHlch(46.69, 27.42, 225.88°)
OKLaboklab(53.28% -0.0726 -0.0551)
OKLCHoklch(53.28% 0.091 217.2)
XYZxyz(12.0426, 15.7850, 28.3934)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12798F #8F2812
analogous
#128F67 #12798F #123B8F
triadic
#12798F #8F1279 #798F12
tetradic
#12798F #67128F #8F2812 #3B8F12
square
#12798F #67128F #8F2812 #3B8F12
split-complementary
#12798F #8F123B #8F6712
monochromatic
#041D22 #0B4B59 #12798F #19A7C5 #36C7E6

Accessibility & contrast

On white

5.05
#12798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#12798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12798F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12798F#FFFFFF#000000##FFFFFF
##12798F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7590
Deuteranopia (green-blind)
#5B6A8F
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #12798f;
/* rgb */ color: rgb(18, 121, 143);
/* oklch */ color: oklch(53.3% 0.091 217.2);
Tailwind
colors: {
  custom: {
    50: '#6ba0af',
    500: '#12798f',
    950: '#000000',
  },
}
SCSS
$custom: #12798f;
$custom-light: #6ba0af;
$custom-dark: #000000;
JSON
{
  "hex": "#12798f",
  "rgb": {
    "r": 18,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 190.56,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.09112,
    "h": 217.2
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#12798F
secondary
#C3523A
accent
#5634F4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #12798F

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

Preview Lab → · Contrast checker → · Palette generator →

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