#0C3846#0C3846

#0C3846 is a dark, muted cyan. Relative luminance 0.033; OKLCH L 31.9% C 0.052 H 223.7°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#0C3846
RGBrgb(12, 56, 70)
HSLhsl(194, 71%, 16%)
HSVhsv(194, 83%, 27%)
CMYKcmyk(82.9%, 20%, 0%, 72.5%)
CIE-LABlab(21.39, -9.15, -12.89)
CIE-LCHlch(21.39, 15.80, 234.63°)
OKLaboklab(31.85% -0.0378 -0.0361)
OKLCHoklch(31.85% 0.052 223.7)
XYZxyz(2.6708, 3.3484, 6.2987)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3846 #461A0C
analogous
#0C4637 #0C3846 #0C1B46
triadic
#0C3846 #460C38 #38460C
tetradic
#0C3846 #370C46 #461A0C #1B460C
square
#0C3846 #370C46 #461A0C #1B460C
split-complementary
#0C3846 #460C1B #46370C
monochromatic
#04151A #04151A #0C3846 #15627A #1E8CAE

Accessibility & contrast

On white

12.58
#0C3846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#0C3846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3846
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3846#FFFFFF#000000##FFFFFF
##0C38461.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303747
Deuteranopia (green-blind)
#283146
Tritanopia (blue-blind)
#003C3D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3846;
/* rgb */ color: rgb(12, 56, 70);
/* oklch */ color: oklch(31.9% 0.052 223.7);
Tailwind
colors: {
  custom: {
    50: '#556e79',
    500: '#0c3846',
    950: '#000000',
  },
}
SCSS
$custom: #0c3846;
$custom-light: #556e79;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3846",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 70
  },
  "hsl": {
    "h": 194.483,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31854,
    "c": 0.05225,
    "h": 223.7
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#0C3846
secondary
#82412C
accent
#663AED
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030709
muted
#787A7B

Preview Lab

Preview with #0C3846

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

Preview Lab → · Contrast checker → · Palette generator →

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