#12404F#12404F

#12404F is a dark, muted cyan. Relative luminance 0.044; OKLCH L 34.8% C 0.055 H 223.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#12404F
RGBrgb(18, 64, 79)
HSLhsl(195, 63%, 19%)
HSVhsv(195, 77%, 31%)
CMYKcmyk(77.2%, 19%, 0%, 69%)
CIE-LABlab(24.83, -9.73, -13.56)
CIE-LCHlch(24.83, 16.69, 234.34°)
OKLaboklab(34.8% -0.0398 -0.0379)
OKLCHoklch(34.8% 0.055 223.6)
XYZxyz(3.4936, 4.3595, 8.0530)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12404F #4F2112
analogous
#124F40 #12404F #12224F
triadic
#12404F #4F1240 #404F12
tetradic
#12404F #40124F #4F2112 #224F12
square
#12404F #40124F #4F2112 #224F12
split-complementary
#12404F #4F1222 #4F4012
monochromatic
#061419 #07181D #12404F #1D6881 #2991B3

Accessibility & contrast

On white

11.22
#12404F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12404F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12404F#FFFFFF#000000##FFFFFF
##12404F1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E50
Deuteranopia (green-blind)
#2F384F
Tritanopia (blue-blind)
#004545
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #12404f;
/* rgb */ color: rgb(18, 64, 79);
/* oklch */ color: oklch(34.8% 0.055 223.6);
Tailwind
colors: {
  custom: {
    50: '#5a7480',
    500: '#12404f',
    950: '#000000',
  },
}
SCSS
$custom: #12404f;
$custom-light: #5a7480;
$custom-dark: #000000;
JSON
{
  "hex": "#12404f",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 194.754,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.34795,
    "c": 0.05496,
    "h": 223.6
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#12404F
secondary
#884935
accent
#6A42E6
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #12404F

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

Preview Lab → · Contrast checker → · Palette generator →

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