#12505F#12505F

#12505F is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.1% C 0.065 H 218.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#12505F
RGBrgb(18, 80, 95)
HSLhsl(192, 68%, 22%)
HSVhsv(192, 81%, 37%)
CMYKcmyk(81.1%, 15.8%, 0%, 62.7%)
CIE-LABlab(31.09, -13.39, -14.27)
CIE-LCHlch(31.09, 19.57, 226.83°)
OKLaboklab(40.06% -0.0509 -0.0399)
OKLCHoklch(40.06% 0.065 218.1)
XYZxyz(5.1828, 6.6915, 11.8427)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12505F #5F2112
analogous
#125F48 #12505F #122A5F
triadic
#12505F #5F1250 #505F12
tetradic
#12505F #48125F #5F2112 #2A5F12
square
#12505F #48125F #5F2112 #2A5F12
split-complementary
#12505F #5F122A #5F4812
monochromatic
#05161A #08252C #12505F #1C7B92 #25A7C6

Accessibility & contrast

On white

8.98
#12505F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#12505F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12505F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12505F#FFFFFF#000000##FFFFFF
##12505F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D60
Deuteranopia (green-blind)
#3C465F
Tritanopia (blue-blind)
#005555
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #12505f;
/* rgb */ color: rgb(18, 80, 95);
/* oklch */ color: oklch(40.1% 0.065 218.1);
Tailwind
colors: {
  custom: {
    50: '#5e818c',
    500: '#12505f',
    950: '#000000',
  },
}
SCSS
$custom: #12505f;
$custom-light: #5e818c;
$custom-dark: #000000;
JSON
{
  "hex": "#12505f",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 95
  },
  "hsl": {
    "h": 191.688,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4006,
    "c": 0.06466,
    "h": 218.1
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#12505F
secondary
#974936
accent
#5F3DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #12505F

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

Preview Lab → · Contrast checker → · Palette generator →

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