#0C3845#0C3845

#0C3845 is a dark, muted cyan. Relative luminance 0.033; OKLCH L 31.8% C 0.051 H 221.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#0C3845
RGBrgb(12, 56, 69)
HSLhsl(194, 70%, 16%)
HSVhsv(194, 83%, 27%)
CMYKcmyk(82.6%, 18.8%, 0%, 72.9%)
CIE-LABlab(21.34, -9.54, -12.29)
CIE-LCHlch(21.34, 15.56, 232.16°)
OKLaboklab(31.8% -0.0382 -0.0344)
OKLCHoklch(31.8% 0.051 221.9)
XYZxyz(2.6395, 3.3359, 6.1338)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3845 #45190C
analogous
#0C4535 #0C3845 #0C1B45
triadic
#0C3845 #450C38 #38450C
tetradic
#0C3845 #350C45 #45190C #1B450C
square
#0C3845 #350C45 #45190C #1B450C
split-complementary
#0C3845 #450C1B #45350C
monochromatic
#05151A #05151A #0C3845 #156279 #1E8DAD

Accessibility & contrast

On white

12.60
#0C3845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3845
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3845#FFFFFF#000000##FFFFFF
##0C38451.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303646
Deuteranopia (green-blind)
#293145
Tritanopia (blue-blind)
#003C3C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3845;
/* rgb */ color: rgb(12, 56, 69);
/* oklch */ color: oklch(31.8% 0.051 221.9);
Tailwind
colors: {
  custom: {
    50: '#556e78',
    500: '#0c3845',
    950: '#000000',
  },
}
SCSS
$custom: #0c3845;
$custom-light: #556e78;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3845",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 69
  },
  "hsl": {
    "h": 193.684,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31801,
    "c": 0.05142,
    "h": 221.9
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#0C3845
secondary
#813F2C
accent
#633BED
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030709
muted
#787A7B

Preview Lab

Preview with #0C3845

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

Preview Lab → · Contrast checker → · Palette generator →

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