#12374E#12374E

#12374E is a dark, muted cyan. Relative luminance 0.034; OKLCH L 32.2% C 0.058 H 239.6°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#12374E
RGBrgb(18, 55, 78)
HSLhsl(203, 63%, 19%)
HSVhsv(203, 77%, 31%)
CMYKcmyk(76.9%, 29.5%, 0%, 69.4%)
CIE-LABlab(21.62, -4.31, -17.87)
CIE-LCHlch(21.62, 18.38, 256.45°)
OKLaboklab(32.22% -0.0295 -0.0504)
OKLCHoklch(32.22% 0.058 239.6)
XYZxyz(2.9903, 3.4107, 7.7070)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12374E #4E2912
analogous
#124E47 #12374E #12194E
triadic
#12374E #4E1237 #374E12
tetradic
#12374E #47124E #4E2912 #194E12
square
#12374E #47124E #4E2912 #194E12
split-complementary
#12374E #4E1219 #4E4712
monochromatic
#061219 #07141C #12374E #1D5A80 #297DB1

Accessibility & contrast

On white

12.48
#12374E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#12374E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12374E
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12374E#FFFFFF#000000##FFFFFF
##12374E1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12374e;
/* rgb */ color: rgb(18, 55, 78);
/* oklch */ color: oklch(32.2% 0.058 239.6);
Tailwind
colors: {
  custom: {
    50: '#596d7f',
    500: '#12374e',
    950: '#000000',
  },
}
SCSS
$custom: #12374e;
$custom-light: #596d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#12374e",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 78
  },
  "hsl": {
    "h": 203,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32223,
    "c": 0.05841,
    "h": 239.6
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#12374E
secondary
#875435
accent
#8142E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #12374E

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

Preview Lab → · Contrast checker → · Palette generator →

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