#0C3847#0C3847

#0C3847 is a dark, muted cyan. Relative luminance 0.034; OKLCH L 31.9% C 0.053 H 225.4°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#0C3847
RGBrgb(12, 56, 71)
HSLhsl(195, 71%, 16%)
HSVhsv(195, 83%, 28%)
CMYKcmyk(83.1%, 21.1%, 0%, 72.2%)
CIE-LABlab(21.44, -8.75, -13.49)
CIE-LCHlch(21.44, 16.07, 237.03°)
OKLaboklab(31.91% -0.0373 -0.0378)
OKLCHoklch(31.91% 0.053 225.4)
XYZxyz(2.7027, 3.3611, 6.4663)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3847 #471B0C
analogous
#0C4739 #0C3847 #0C1B47
triadic
#0C3847 #470C38 #38470C
tetradic
#0C3847 #390C47 #471B0C #1B470C
square
#0C3847 #390C47 #471B0C #1B470C
split-complementary
#0C3847 #470C1B #47390C
monochromatic
#04151A #04151A #0C3847 #15617B #1E8BB0

Accessibility & contrast

On white

12.56
#0C3847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3847
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3847#FFFFFF#000000##FFFFFF
##0C38471.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3847;
/* rgb */ color: rgb(12, 56, 71);
/* oklch */ color: oklch(31.9% 0.053 225.4);
Tailwind
colors: {
  custom: {
    50: '#556e7a',
    500: '#0c3847',
    950: '#000000',
  },
}
SCSS
$custom: #0c3847;
$custom-light: #556e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3847",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 71
  },
  "hsl": {
    "h": 195.254,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31908,
    "c": 0.05313,
    "h": 225.4
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#0C3847
secondary
#83422C
accent
#683AEE
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030709
muted
#787A7B

Preview Lab

Preview with #0C3847

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

Preview Lab → · Contrast checker → · Palette generator →

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