#12505E#12505E

#12505E is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.0% C 0.064 H 216.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#12505E
RGBrgb(18, 80, 94)
HSLhsl(191, 68%, 22%)
HSVhsv(191, 81%, 37%)
CMYKcmyk(80.9%, 14.9%, 0%, 63.1%)
CIE-LABlab(31.05, -13.76, -13.70)
CIE-LCHlch(31.05, 19.42, 224.88°)
OKLaboklab(40.01% -0.0513 -0.0382)
OKLCHoklch(40.01% 0.064 216.7)
XYZxyz(5.1376, 6.6735, 11.6048)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12505E #5E2012
analogous
#125E46 #12505E #122A5E
triadic
#12505E #5E1250 #505E12
tetradic
#12505E #46125E #5E2012 #2A5E12
square
#12505E #46125E #5E2012 #2A5E12
split-complementary
#12505E #5E122A #5E4612
monochromatic
#05161A #08242B #12505E #1C7C91 #26A7C5

Accessibility & contrast

On white

8.99
#12505E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#12505E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12505E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12505E#FFFFFF#000000##FFFFFF
##12505E1.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5F
Deuteranopia (green-blind)
#3C465E
Tritanopia (blue-blind)
#005554
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #12505e;
/* rgb */ color: rgb(18, 80, 94);
/* oklch */ color: oklch(40.0% 0.064 216.7);
Tailwind
colors: {
  custom: {
    50: '#5e818b',
    500: '#12505e',
    950: '#000000',
  },
}
SCSS
$custom: #12505e;
$custom-light: #5e818b;
$custom-dark: #000000;
JSON
{
  "hex": "#12505e",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 94
  },
  "hsl": {
    "h": 191.053,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40012,
    "c": 0.06403,
    "h": 216.7
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#12505E
secondary
#964735
accent
#5D3DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #12505E

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

Preview Lab → · Contrast checker → · Palette generator →

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