#12404E#12404E

#12404E is a dark, muted cyan. Relative luminance 0.043; OKLCH L 34.7% C 0.054 H 222.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#12404E
RGBrgb(18, 64, 78)
HSLhsl(194, 63%, 19%)
HSVhsv(194, 77%, 31%)
CMYKcmyk(76.9%, 17.9%, 0%, 69.4%)
CIE-LABlab(24.78, -10.11, -12.97)
CIE-LCHlch(24.78, 16.45, 232.07°)
OKLaboklab(34.74% -0.0402 -0.0362)
OKLCHoklch(34.74% 0.054 222)
XYZxyz(3.4574, 4.3451, 7.8627)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12404E #4E2012
analogous
#124E3E #12404E #12224E
triadic
#12404E #4E1240 #404E12
tetradic
#12404E #3E124E #4E2012 #224E12
square
#12404E #3E124E #4E2012 #224E12
split-complementary
#12404E #4E1222 #4E3E12
monochromatic
#061419 #07171C #12404E #1D6980 #2992B1

Accessibility & contrast

On white

11.24
#12404E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#12404E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12404E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12404E#FFFFFF#000000##FFFFFF
##12404E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4F
Deuteranopia (green-blind)
#2F384E
Tritanopia (blue-blind)
#004444
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #12404e;
/* rgb */ color: rgb(18, 64, 78);
/* oklch */ color: oklch(34.7% 0.054 222.0);
Tailwind
colors: {
  custom: {
    50: '#59747f',
    500: '#12404e',
    950: '#000000',
  },
}
SCSS
$custom: #12404e;
$custom-light: #59747f;
$custom-dark: #000000;
JSON
{
  "hex": "#12404e",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 78
  },
  "hsl": {
    "h": 194,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34744,
    "c": 0.05415,
    "h": 222
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

primary
#12404E
secondary
#874835
accent
#6842E6
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #12404E

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

Preview Lab → · Contrast checker → · Palette generator →

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