#12515F#12515F

#12515F is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.3% C 0.065 H 216.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#12515F
RGBrgb(18, 81, 95)
HSLhsl(191, 68%, 22%)
HSVhsv(191, 81%, 37%)
CMYKcmyk(81.1%, 14.7%, 0%, 62.7%)
CIE-LABlab(31.44, -13.97, -13.75)
CIE-LCHlch(31.44, 19.60, 224.53°)
OKLaboklab(40.34% -0.052 -0.0384)
OKLCHoklch(40.34% 0.065 216.4)
XYZxyz(5.2566, 6.8390, 11.8673)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12515F #5F2012
analogous
#125F47 #12515F #122B5F
triadic
#12515F #5F1251 #515F12
tetradic
#12515F #47125F #5F2012 #2B5F12
square
#12515F #47125F #5F2012 #2B5F12
split-complementary
#12515F #5F122B #5F4712
monochromatic
#05161A #08252C #12515F #1C7D92 #25A9C6

Accessibility & contrast

On white

8.87
#12515F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#12515F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12515F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12515F#FFFFFF#000000##FFFFFF
##12515F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E60
Deuteranopia (green-blind)
#3D475F
Tritanopia (blue-blind)
#005655
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #12515f;
/* rgb */ color: rgb(18, 81, 95);
/* oklch */ color: oklch(40.3% 0.065 216.4);
Tailwind
colors: {
  custom: {
    50: '#5e828c',
    500: '#12515f',
    950: '#000000',
  },
}
SCSS
$custom: #12515f;
$custom-light: #5e828c;
$custom-dark: #000000;
JSON
{
  "hex": "#12515f",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 95
  },
  "hsl": {
    "h": 190.909,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40337,
    "c": 0.06463,
    "h": 216.4
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#12515F
secondary
#974736
accent
#5C3DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #12515F

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

Preview Lab → · Contrast checker → · Palette generator →

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