#12404C#12404C

#12404C is a dark, muted cyan. Relative luminance 0.043; OKLCH L 34.6% C 0.053 H 218.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#12404C
RGBrgb(18, 64, 76)
HSLhsl(192, 62%, 18%)
HSVhsv(192, 76%, 30%)
CMYKcmyk(76.3%, 15.8%, 0%, 70.2%)
CIE-LABlab(24.69, -10.86, -11.79)
CIE-LCHlch(24.69, 16.03, 227.34°)
OKLaboklab(34.64% -0.0411 -0.0329)
OKLCHoklch(34.64% 0.053 218.6)
XYZxyz(3.3868, 4.3168, 7.4908)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12404C #4C1E12
analogous
#124C3B #12404C #12234C
triadic
#12404C #4C1240 #404C12
tetradic
#12404C #3B124C #4C1E12 #234C12
square
#12404C #3B124C #4C1E12 #234C12
split-complementary
#12404C #4C1223 #4C3B12
monochromatic
#061519 #06161B #12404C #1E6A7D #2993AF

Accessibility & contrast

On white

11.27
#12404C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#12404C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12404C
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12404C#FFFFFF#000000##FFFFFF
##12404C1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4D
Deuteranopia (green-blind)
#30384C
Tritanopia (blue-blind)
#004444
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #12404c;
/* rgb */ color: rgb(18, 64, 76);
/* oklch */ color: oklch(34.6% 0.053 218.6);
Tailwind
colors: {
  custom: {
    50: '#59757e',
    500: '#12404c',
    950: '#000000',
  },
}
SCSS
$custom: #12404c;
$custom-light: #59757e;
$custom-dark: #000000;
JSON
{
  "hex": "#12404c",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 76
  },
  "hsl": {
    "h": 192.414,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.34644,
    "c": 0.05267,
    "h": 218.6
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#12404C
secondary
#854535
accent
#6443E5
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#040809
muted
#797B7B

Preview Lab

Preview with #12404C

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

Preview Lab → · Contrast checker → · Palette generator →

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