#12516A#12516A

#12516A is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 40.9% C 0.073 H 229.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#12516A
RGBrgb(18, 81, 106)
HSLhsl(197, 71%, 24%)
HSVhsv(197, 83%, 42%)
CMYKcmyk(83%, 23.6%, 0%, 58.4%)
CIE-LABlab(31.93, -9.83, -19.94)
CIE-LCHlch(31.93, 22.23, 243.77°)
OKLaboklab(40.89% -0.0473 -0.0561)
OKLCHoklch(40.89% 0.073 229.9)
XYZxyz(5.7923, 7.0534, 14.6890)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12516A #6A2B12
analogous
#126A57 #12516A #12256A
triadic
#12516A #6A1251 #516A12
tetradic
#12516A #57126A #6A2B12 #256A12
square
#12516A #57126A #6A2B12 #256A12
split-complementary
#12516A #6A1225 #6A5712
monochromatic
#04141A #092936 #12516A #1B799E #24A1D3

Accessibility & contrast

On white

8.71
#12516A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#12516A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12516A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12516A#FFFFFF#000000##FFFFFF
##12516A1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44506B
Deuteranopia (green-blind)
#38476A
Tritanopia (blue-blind)
#005859
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12516a;
/* rgb */ color: rgb(18, 81, 106);
/* oklch */ color: oklch(40.9% 0.073 229.9);
Tailwind
colors: {
  custom: {
    50: '#608194',
    500: '#12516a',
    950: '#000000',
  },
}
SCSS
$custom: #12516a;
$custom-light: #608194;
$custom-dark: #000000;
JSON
{
  "hex": "#12516a",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 106
  },
  "hsl": {
    "h": 197.045,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.40892,
    "c": 0.07338,
    "h": 229.9
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#12516A
secondary
#A25536
accent
#6D3AEE
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#050A0D
muted
#7A7C7E

Preview Lab

Preview with #12516A

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

Preview Lab → · Contrast checker → · Palette generator →

#12516A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva