#0C3648#0C3648

#0C3648 is a dark, muted cyan. Relative luminance 0.032; OKLCH L 31.4% C 0.055 H 231.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#0C3648
RGBrgb(12, 54, 72)
HSLhsl(198, 71%, 16%)
HSVhsv(198, 83%, 28%)
CMYKcmyk(83.3%, 25%, 0%, 71.8%)
CIE-LABlab(20.77, -7.05, -15.19)
CIE-LCHlch(20.77, 16.75, 245.10°)
OKLaboklab(31.39% -0.0346 -0.0427)
OKLCHoklch(31.39% 0.055 231)
XYZxyz(2.6400, 3.1841, 6.6051)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3648 #481E0C
analogous
#0C483C #0C3648 #0C1848
triadic
#0C3648 #480C36 #36480C
tetradic
#0C3648 #3C0C48 #481E0C #18480C
square
#0C3648 #3C0C48 #481E0C #18480C
split-complementary
#0C3648 #480C18 #483C0C
monochromatic
#04141A #04141A #0C3648 #155D7C #1D85B1

Accessibility & contrast

On white

12.83
#0C3648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#0C3648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3648
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3648#FFFFFF#000000##FFFFFF
##0C36481.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3549
Deuteranopia (green-blind)
#252F48
Tritanopia (blue-blind)
#003B3C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0c3648;
/* rgb */ color: rgb(12, 54, 72);
/* oklch */ color: oklch(31.4% 0.055 231.0);
Tailwind
colors: {
  custom: {
    50: '#556d7b',
    500: '#0c3648',
    950: '#000000',
  },
}
SCSS
$custom: #0c3648;
$custom-light: #556d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3648",
  "rgb": {
    "r": 12,
    "g": 54,
    "b": 72
  },
  "hsl": {
    "h": 198,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.31389,
    "c": 0.05496,
    "h": 231
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#0C3648
secondary
#84462C
accent
#703AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030709
muted
#787A7B

Preview Lab

Preview with #0C3648

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

Preview Lab → · Contrast checker → · Palette generator →

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