#12374F#12374F

#12374F is a dark, muted cyan. Relative luminance 0.034; OKLCH L 32.3% C 0.060 H 240.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#12374F
RGBrgb(18, 55, 79)
HSLhsl(204, 63%, 19%)
HSVhsv(204, 77%, 31%)
CMYKcmyk(77.2%, 30.4%, 0%, 69%)
CIE-LABlab(21.67, -3.90, -18.45)
CIE-LCHlch(21.67, 18.86, 258.06°)
OKLaboklab(32.28% -0.0292 -0.0521)
OKLCHoklch(32.28% 0.06 240.7)
XYZxyz(3.0264, 3.4252, 7.8972)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12374F #4F2A12
analogous
#124F49 #12374F #12184F
triadic
#12374F #4F1237 #374F12
tetradic
#12374F #49124F #4F2A12 #184F12
square
#12374F #49124F #4F2A12 #184F12
split-complementary
#12374F #4F1218 #4F4912
monochromatic
#061119 #07141D #12374F #1D5A81 #297CB3

Accessibility & contrast

On white

12.46
#12374F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#12374F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12374F
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12374F#FFFFFF#000000##FFFFFF
##12374F1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3750
Deuteranopia (green-blind)
#24314F
Tritanopia (blue-blind)
#003D3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #12374f;
/* rgb */ color: rgb(18, 55, 79);
/* oklch */ color: oklch(32.3% 0.060 240.7);
Tailwind
colors: {
  custom: {
    50: '#596d80',
    500: '#12374f',
    950: '#000000',
  },
}
SCSS
$custom: #12374f;
$custom-light: #596d80;
$custom-dark: #000000;
JSON
{
  "hex": "#12374f",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 79
  },
  "hsl": {
    "h": 203.607,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.32282,
    "c": 0.05969,
    "h": 240.7
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#12374F
secondary
#885635
accent
#8242E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #12374F

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

Preview Lab → · Contrast checker → · Palette generator →

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