#12405B#12405B

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

Color values

HEX#12405B
RGBrgb(18, 64, 91)
HSLhsl(202, 67%, 21%)
HSVhsv(202, 80%, 36%)
CMYKcmyk(80.2%, 29.7%, 0%, 64.3%)
CIE-LABlab(25.41, -5.02, -20.50)
CIE-LCHlch(25.41, 21.11, 256.25°)
OKLaboklab(35.46% -0.0348 -0.0579)
OKLCHoklch(35.46% 0.068 239)
XYZxyz(3.9704, 4.5503, 10.5645)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12405B #5B2D12
analogous
#125B52 #12405B #121C5B
triadic
#12405B #5B1240 #405B12
tetradic
#12405B #52125B #5B2D12 #1C5B12
square
#12405B #52125B #5B2D12 #1C5B12
split-complementary
#12405B #5B121C #5B5212
monochromatic
#05121A #081C28 #12405B #1C648E #2688C1

Accessibility & contrast

On white

10.99
#12405B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12405B
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12405B#FFFFFF#000000##FFFFFF
##12405B1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405C
Deuteranopia (green-blind)
#29395B
Tritanopia (blue-blind)
#004749
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12405b;
/* rgb */ color: rgb(18, 64, 91);
/* oklch */ color: oklch(35.5% 0.068 239.0);
Tailwind
colors: {
  custom: {
    50: '#5c7489',
    500: '#12405b',
    950: '#000000',
  },
}
SCSS
$custom: #12405b;
$custom-light: #5c7489;
$custom-dark: #000000;
JSON
{
  "hex": "#12405b",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 202.192,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.35457,
    "c": 0.06757,
    "h": 239
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#12405B
secondary
#935835
accent
#7E3EEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #12405B

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

Preview Lab → · Contrast checker → · Palette generator →

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