#12516F#12516F

#12516F is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.2% C 0.079 H 234.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#12516F
RGBrgb(18, 81, 111)
HSLhsl(199, 72%, 25%)
HSVhsv(199, 84%, 44%)
CMYKcmyk(83.8%, 27%, 0%, 56.5%)
CIE-LABlab(32.17, -7.88, -22.71)
CIE-LCHlch(32.17, 24.03, 250.86°)
OKLaboklab(41.16% -0.0453 -0.0641)
OKLCHoklch(41.16% 0.079 234.7)
XYZxyz(6.0600, 7.1604, 16.0986)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12516F #6F3012
analogous
#126F5E #12516F #12226F
triadic
#12516F #6F1251 #516F12
tetradic
#12516F #5E126F #6F3012 #226F12
square
#12516F #5E126F #6F3012 #226F12
split-complementary
#12516F #6F1222 #6F5E12
monochromatic
#04131A #092B3A #12516F #1B77A4 #239ED8

Accessibility & contrast

On white

8.63
#12516F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#12516F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12516F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12516F#FFFFFF#000000##FFFFFF
##12516F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425070
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#00595B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12516f;
/* rgb */ color: rgb(18, 81, 111);
/* oklch */ color: oklch(41.2% 0.079 234.7);
Tailwind
colors: {
  custom: {
    50: '#618198',
    500: '#12516f',
    950: '#000000',
  },
}
SCSS
$custom: #12516f;
$custom-light: #618198;
$custom-dark: #000000;
JSON
{
  "hex": "#12516f",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 111
  },
  "hsl": {
    "h": 199.355,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.41164,
    "c": 0.07851,
    "h": 234.7
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#12516F
secondary
#A65B37
accent
#7439EF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #12516F

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

Preview Lab → · Contrast checker → · Palette generator →

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