#0C3947#0C3947

#0C3947 is a dark, muted cyan. Relative luminance 0.035; OKLCH L 32.2% C 0.053 H 223.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#0C3947
RGBrgb(12, 57, 71)
HSLhsl(194, 71%, 16%)
HSVhsv(194, 83%, 28%)
CMYKcmyk(83.1%, 19.7%, 0%, 72.2%)
CIE-LABlab(21.80, -9.38, -12.93)
CIE-LCHlch(21.80, 15.98, 234.03°)
OKLaboklab(32.2% -0.0385 -0.0362)
OKLCHoklch(32.2% 0.053 223.2)
XYZxyz(2.7516, 3.4590, 6.4827)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3947 #471A0C
analogous
#0C4738 #0C3947 #0C1C47
triadic
#0C3947 #470C39 #39470C
tetradic
#0C3947 #380C47 #471A0C #1C470C
square
#0C3947 #380C47 #471A0C #1C470C
split-complementary
#0C3947 #470C1C #47380C
monochromatic
#04151A #04151A #0C3947 #15637B #1E8DB0

Accessibility & contrast

On white

12.41
#0C3947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0C3947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3947
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3947#FFFFFF#000000##FFFFFF
##0C39471.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313748
Deuteranopia (green-blind)
#293247
Tritanopia (blue-blind)
#003D3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3947;
/* rgb */ color: rgb(12, 57, 71);
/* oklch */ color: oklch(32.2% 0.053 223.2);
Tailwind
colors: {
  custom: {
    50: '#556f7a',
    500: '#0c3947',
    950: '#000000',
  },
}
SCSS
$custom: #0c3947;
$custom-light: #556f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3947",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 71
  },
  "hsl": {
    "h": 194.237,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.32196,
    "c": 0.05285,
    "h": 223.2
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#0C3947
secondary
#83412C
accent
#653AEE
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030709
muted
#787A7B

Preview Lab

Preview with #0C3947

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

Preview Lab → · Contrast checker → · Palette generator →

#0C3947 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva