#0C3545#0C3545

#0C3545 is a dark, muted cyan. Relative luminance 0.031; OKLCH L 30.9% C 0.052 H 228.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#0C3545
RGBrgb(12, 53, 69)
HSLhsl(197, 70%, 16%)
HSVhsv(197, 83%, 27%)
CMYKcmyk(82.6%, 23.2%, 0%, 72.9%)
CIE-LABlab(20.26, -7.62, -13.96)
CIE-LCHlch(20.26, 15.90, 241.39°)
OKLaboklab(30.93% -0.0347 -0.0392)
OKLCHoklch(30.93% 0.052 228.5)
XYZxyz(2.4985, 3.0537, 6.0868)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3545 #451C0C
analogous
#0C4538 #0C3545 #0C1845
triadic
#0C3545 #450C35 #35450C
tetradic
#0C3545 #380C45 #451C0C #18450C
square
#0C3545 #380C45 #451C0C #18450C
split-complementary
#0C3545 #450C18 #45380C
monochromatic
#05141A #05141A #0C3545 #155D79 #1E85AD

Accessibility & contrast

On white

13.04
#0C3545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0C3545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3545
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3545#FFFFFF#000000##FFFFFF
##0C35451.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3446
Deuteranopia (green-blind)
#252E45
Tritanopia (blue-blind)
#003A3A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3545;
/* rgb */ color: rgb(12, 53, 69);
/* oklch */ color: oklch(30.9% 0.052 228.5);
Tailwind
colors: {
  custom: {
    50: '#556c78',
    500: '#0c3545',
    950: '#000000',
  },
}
SCSS
$custom: #0c3545;
$custom-light: #556c78;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3545",
  "rgb": {
    "r": 12,
    "g": 53,
    "b": 69
  },
  "hsl": {
    "h": 196.842,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30933,
    "c": 0.05234,
    "h": 228.5
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#0C3545
secondary
#81442C
accent
#6D3BED
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C3545

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

Preview Lab → · Contrast checker → · Palette generator →

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