#0C3748#0C3748

#0C3748 is a dark, muted cyan. Relative luminance 0.033; OKLCH L 31.7% C 0.054 H 229.0°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#0C3748
RGBrgb(12, 55, 72)
HSLhsl(197, 71%, 16%)
HSVhsv(197, 83%, 28%)
CMYKcmyk(83.3%, 23.6%, 0%, 71.8%)
CIE-LABlab(21.12, -7.70, -14.64)
CIE-LCHlch(21.12, 16.54, 242.24°)
OKLaboklab(31.67% -0.0357 -0.0411)
OKLCHoklch(31.67% 0.054 229)
XYZxyz(2.6870, 3.2781, 6.6208)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3748 #481D0C
analogous
#0C483B #0C3748 #0C1948
triadic
#0C3748 #480C37 #37480C
tetradic
#0C3748 #3B0C48 #481D0C #19480C
square
#0C3748 #3B0C48 #481D0C #19480C
split-complementary
#0C3748 #480C19 #483B0C
monochromatic
#04141A #04141A #0C3748 #155F7C #1D87B1

Accessibility & contrast

On white

12.68
#0C3748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0C3748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3748
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3748#FFFFFF#000000##FFFFFF
##0C37481.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3649
Deuteranopia (green-blind)
#263048
Tritanopia (blue-blind)
#003C3D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3748;
/* rgb */ color: rgb(12, 55, 72);
/* oklch */ color: oklch(31.7% 0.054 229.0);
Tailwind
colors: {
  custom: {
    50: '#556d7b',
    500: '#0c3748',
    950: '#000000',
  },
}
SCSS
$custom: #0c3748;
$custom-light: #556d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3748",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 72
  },
  "hsl": {
    "h": 197,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.31675,
    "c": 0.05447,
    "h": 229
  },
  "luminance": 0.03278
}

Semantic roles & 50–950 ramp

primary
#0C3748
secondary
#84452C
accent
#6D3AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030709
muted
#787A7B

Preview Lab

Preview with #0C3748

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

Preview Lab → · Contrast checker → · Palette generator →

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