#12405C#12405C

#12405C is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.5% C 0.069 H 239.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#12405C
RGBrgb(18, 64, 92)
HSLhsl(203, 67%, 22%)
HSVhsv(203, 80%, 36%)
CMYKcmyk(80.4%, 30.4%, 0%, 63.9%)
CIE-LABlab(25.47, -4.61, -21.07)
CIE-LCHlch(25.47, 21.57, 257.65°)
OKLaboklab(35.52% -0.0345 -0.0595)
OKLCHoklch(35.52% 0.069 239.9)
XYZxyz(4.0139, 4.5676, 10.7932)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12405C #5C2E12
analogous
#125C53 #12405C #121B5C
triadic
#12405C #5C1240 #405C12
tetradic
#12405C #53125C #5C2E12 #1B5C12
square
#12405C #53125C #5C2E12 #1B5C12
split-complementary
#12405C #5C121B #5C5312
monochromatic
#05121A #081C29 #12405C #1C648F #2687C2

Accessibility & contrast

On white

10.97
#12405C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#12405C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12405C
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12405C#FFFFFF#000000##FFFFFF
##12405C1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405D
Deuteranopia (green-blind)
#29395C
Tritanopia (blue-blind)
#00474A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12405c;
/* rgb */ color: rgb(18, 64, 92);
/* oklch */ color: oklch(35.5% 0.069 239.9);
Tailwind
colors: {
  custom: {
    50: '#5c748a',
    500: '#12405c',
    950: '#000000',
  },
}
SCSS
$custom: #12405c;
$custom-light: #5c748a;
$custom-dark: #000000;
JSON
{
  "hex": "#12405c",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 202.703,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35516,
    "c": 0.06881,
    "h": 239.9
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#12405C
secondary
#945935
accent
#7F3EEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #12405C

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

Preview Lab → · Contrast checker → · Palette generator →

#12405C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva