#12515E#12515E

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

Color values

HEX#12515E
RGBrgb(18, 81, 94)
HSLhsl(190, 68%, 22%)
HSVhsv(190, 81%, 37%)
CMYKcmyk(80.9%, 13.8%, 0%, 63.1%)
CIE-LABlab(31.40, -14.34, -13.17)
CIE-LCHlch(31.40, 19.47, 222.57°)
OKLaboklab(40.29% -0.0525 -0.0368)
OKLCHoklch(40.29% 0.064 215)
XYZxyz(5.2114, 6.8210, 11.6294)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12515E #5E1F12
analogous
#125E45 #12515E #122B5E
triadic
#12515E #5E1251 #515E12
tetradic
#12515E #45125E #5E1F12 #2B5E12
square
#12515E #45125E #5E1F12 #2B5E12
split-complementary
#12515E #5E122B #5E4512
monochromatic
#05161A #08252B #12515E #1C7D91 #26AAC5

Accessibility & contrast

On white

8.88
#12515E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#12515E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12515E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12515E#FFFFFF#000000##FFFFFF
##12515E1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12515e;
/* rgb */ color: rgb(18, 81, 94);
/* oklch */ color: oklch(40.3% 0.064 215.0);
Tailwind
colors: {
  custom: {
    50: '#5e828b',
    500: '#12515e',
    950: '#000000',
  },
}
SCSS
$custom: #12515e;
$custom-light: #5e828b;
$custom-dark: #000000;
JSON
{
  "hex": "#12515e",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 94
  },
  "hsl": {
    "h": 190.263,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.06406,
    "h": 215
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#12515E
secondary
#964635
accent
#5B3DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #12515E

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

Preview Lab → · Contrast checker → · Palette generator →

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