#12405A#12405A

#12405A is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.4% C 0.066 H 237.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#12405A
RGBrgb(18, 64, 90)
HSLhsl(202, 67%, 21%)
HSVhsv(202, 80%, 35%)
CMYKcmyk(80%, 28.9%, 0%, 64.7%)
CIE-LABlab(25.36, -5.42, -19.93)
CIE-LCHlch(25.36, 20.65, 254.79°)
OKLaboklab(35.4% -0.0352 -0.0562)
OKLCHoklch(35.4% 0.066 237.9)
XYZxyz(3.9276, 4.5331, 10.3389)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12405A #5A2C12
analogous
#125A50 #12405A #121C5A
triadic
#12405A #5A1240 #405A12
tetradic
#12405A #50125A #5A2C12 #1C5A12
square
#12405A #50125A #5A2C12 #1C5A12
split-complementary
#12405A #5A121C #5A5012
monochromatic
#05121A #081C27 #12405A #1C648D #2689C0

Accessibility & contrast

On white

11.01
#12405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12405A
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12405A#FFFFFF#000000##FFFFFF
##12405A1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34405B
Deuteranopia (green-blind)
#2A395A
Tritanopia (blue-blind)
#004749
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12405a;
/* rgb */ color: rgb(18, 64, 90);
/* oklch */ color: oklch(35.4% 0.066 237.9);
Tailwind
colors: {
  custom: {
    50: '#5c7488',
    500: '#12405a',
    950: '#000000',
  },
}
SCSS
$custom: #12405a;
$custom-light: #5c7488;
$custom-dark: #000000;
JSON
{
  "hex": "#12405a",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 201.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35399,
    "c": 0.06637,
    "h": 237.9
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#12405A
secondary
#935735
accent
#7C3EEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #12405A

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

Preview Lab → · Contrast checker → · Palette generator →

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