#0C3946#0C3946

#0C3946 is a dark, muted cyan. Relative luminance 0.034; OKLCH L 32.1% C 0.052 H 221.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#0C3946
RGBrgb(12, 57, 70)
HSLhsl(193, 71%, 16%)
HSVhsv(193, 83%, 27%)
CMYKcmyk(82.9%, 18.6%, 0%, 72.5%)
CIE-LABlab(21.75, -9.78, -12.33)
CIE-LCHlch(21.75, 15.74, 231.59°)
OKLaboklab(32.14% -0.039 -0.0345)
OKLCHoklch(32.14% 0.052 221.5)
XYZxyz(2.7198, 3.4463, 6.3150)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3946 #46190C
analogous
#0C4636 #0C3946 #0C1C46
triadic
#0C3946 #460C39 #39460C
tetradic
#0C3946 #360C46 #46190C #1C460C
square
#0C3946 #360C46 #46190C #1C460C
split-complementary
#0C3946 #460C1C #46360C
monochromatic
#04151A #04151A #0C3946 #15647A #1E8EAE

Accessibility & contrast

On white

12.43
#0C3946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3946
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3946#FFFFFF#000000##FFFFFF
##0C39461.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313747
Deuteranopia (green-blind)
#293246
Tritanopia (blue-blind)
#003D3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3946;
/* rgb */ color: rgb(12, 57, 70);
/* oklch */ color: oklch(32.1% 0.052 221.5);
Tailwind
colors: {
  custom: {
    50: '#556f79',
    500: '#0c3946',
    950: '#000000',
  },
}
SCSS
$custom: #0c3946;
$custom-light: #556f79;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3946",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 70
  },
  "hsl": {
    "h": 193.448,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.32144,
    "c": 0.05203,
    "h": 221.5
  },
  "luminance": 0.03447
}

Semantic roles & 50–950 ramp

primary
#0C3946
secondary
#823F2C
accent
#623AED
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030709
muted
#787A7B

Preview Lab

Preview with #0C3946

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

Preview Lab → · Contrast checker → · Palette generator →

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