#12405D#12405D

#12405D is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.6% C 0.070 H 240.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#12405D
RGBrgb(18, 64, 93)
HSLhsl(203, 68%, 22%)
HSVhsv(203, 81%, 36%)
CMYKcmyk(80.6%, 31.2%, 0%, 63.5%)
CIE-LABlab(25.52, -4.21, -21.63)
CIE-LCHlch(25.52, 22.04, 259.00°)
OKLaboklab(35.58% -0.0341 -0.0612)
OKLCHoklch(35.58% 0.07 240.9)
XYZxyz(4.0579, 4.5852, 11.0250)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12405D #5D2F12
analogous
#125D55 #12405D #121B5D
triadic
#12405D #5D1240 #405D12
tetradic
#12405D #55125D #5D2F12 #1B5D12
square
#12405D #55125D #5D2F12 #1B5D12
split-complementary
#12405D #5D121B #5D5512
monochromatic
#05121A #081D2A #12405D #1C6390 #2687C4

Accessibility & contrast

On white

10.95
#12405D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#12405D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12405D
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12405D#FFFFFF#000000##FFFFFF
##12405D1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405E
Deuteranopia (green-blind)
#28395C
Tritanopia (blue-blind)
#00474A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12405d;
/* rgb */ color: rgb(18, 64, 93);
/* oklch */ color: oklch(35.6% 0.070 240.9);
Tailwind
colors: {
  custom: {
    50: '#5c748b',
    500: '#12405d',
    950: '#000000',
  },
}
SCSS
$custom: #12405d;
$custom-light: #5c748b;
$custom-dark: #000000;
JSON
{
  "hex": "#12405d",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 203.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35576,
    "c": 0.07006,
    "h": 240.9
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#12405D
secondary
#955B35
accent
#803DEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #12405D

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

Preview Lab → · Contrast checker → · Palette generator →

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