#0C394B#0C394B

#0C394B is a dark, muted cyan. Relative luminance 0.035; OKLCH L 32.4% C 0.057 H 229.5°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#0C394B
RGBrgb(12, 57, 75)
HSLhsl(197, 72%, 17%)
HSVhsv(197, 84%, 29%)
CMYKcmyk(84%, 24%, 0%, 70.6%)
CIE-LABlab(21.99, -7.79, -15.31)
CIE-LCHlch(21.99, 17.18, 243.04°)
OKLaboklab(32.41% -0.0367 -0.043)
OKLCHoklch(32.41% 0.057 229.5)
XYZxyz(2.8842, 3.5121, 7.1811)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C394B #4B1E0C
analogous
#0C4B3E #0C394B #0C1A4B
triadic
#0C394B #4B0C39 #394B0C
tetradic
#0C394B #3E0C4B #4B1E0C #1A4B0C
square
#0C394B #3E0C4B #4B1E0C #1A4B0C
split-complementary
#0C394B #4B0C1A #4B3E0C
monochromatic
#04141A #04141A #0C394B #146180 #1D89B5

Accessibility & contrast

On white

12.34
#0C394B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#0C394B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C394B
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C394B#FFFFFF#000000##FFFFFF
##0C394B1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30384C
Deuteranopia (green-blind)
#27324B
Tritanopia (blue-blind)
#003E3F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c394b;
/* rgb */ color: rgb(12, 57, 75);
/* oklch */ color: oklch(32.4% 0.057 229.5);
Tailwind
colors: {
  custom: {
    50: '#566f7d',
    500: '#0c394b',
    950: '#000000',
  },
}
SCSS
$custom: #0c394b;
$custom-light: #566f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c394b",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 75
  },
  "hsl": {
    "h": 197.143,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.32414,
    "c": 0.05657,
    "h": 229.5
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#0C394B
secondary
#87462C
accent
#6D39EF
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#030709
muted
#787A7B

Preview Lab

Preview with #0C394B

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

Preview Lab → · Contrast checker → · Palette generator →

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