#12405E#12405E

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

Color values

HEX#12405E
RGBrgb(18, 64, 94)
HSLhsl(204, 68%, 22%)
HSVhsv(204, 81%, 37%)
CMYKcmyk(80.9%, 31.9%, 0%, 63.1%)
CIE-LABlab(25.57, -3.80, -22.20)
CIE-LCHlch(25.57, 22.52, 260.28°)
OKLaboklab(35.64% -0.0337 -0.0628)
OKLCHoklch(35.64% 0.071 241.8)
XYZxyz(4.1024, 4.6031, 11.2598)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12405E #5E3012
analogous
#125E56 #12405E #121A5E
triadic
#12405E #5E1240 #405E12
tetradic
#12405E #56125E #5E3012 #1A5E12
square
#12405E #56125E #5E3012 #1A5E12
split-complementary
#12405E #5E121A #5E5612
monochromatic
#05111A #081D2B #12405E #1C6391 #2686C5

Accessibility & contrast

On white

10.93
#12405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12405E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12405E#FFFFFF#000000##FFFFFF
##12405E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32415F
Deuteranopia (green-blind)
#28395D
Tritanopia (blue-blind)
#00474B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12405e;
/* rgb */ color: rgb(18, 64, 94);
/* oklch */ color: oklch(35.6% 0.071 241.8);
Tailwind
colors: {
  custom: {
    50: '#5d748c',
    500: '#12405e',
    950: '#000000',
  },
}
SCSS
$custom: #12405e;
$custom-light: #5d748c;
$custom-dark: #000000;
JSON
{
  "hex": "#12405e",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 203.684,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.35636,
    "c": 0.07132,
    "h": 241.8
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#12405E
secondary
#965C35
accent
#823DEB
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #12405E

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

Preview Lab → · Contrast checker → · Palette generator →

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