#0C303A#0C303A

#0C303A is a dark, muted cyan. Relative luminance 0.025; OKLCH L 28.9% C 0.044 H 219.8°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#0C303A
RGBrgb(12, 48, 58)
HSLhsl(193, 66%, 14%)
HSVhsv(193, 79%, 23%)
CMYKcmyk(79.3%, 17.2%, 0%, 77.3%)
CIE-LABlab(17.91, -8.76, -10.07)
CIE-LCHlch(17.91, 13.35, 228.99°)
OKLaboklab(28.88% -0.0337 -0.0281)
OKLCHoklch(28.88% 0.044 219.8)
XYZxyz(1.9720, 2.4973, 4.3803)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C303A #3A160C
analogous
#0C3A2D #0C303A #0C193A
triadic
#0C303A #3A0C30 #303A0C
tetradic
#0C303A #2D0C3A #3A160C #193A0C
square
#0C303A #2D0C3A #3A160C #193A0C
split-complementary
#0C303A #3A0C19 #3A2D0C
monochromatic
#051519 #051519 #0C303A #165A6D #21849F

Accessibility & contrast

On white

14.00
#0C303A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0C303A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C303A
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C303A#FFFFFF#000000##FFFFFF
##0C303A1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2E3B
Deuteranopia (green-blind)
#232A3A
Tritanopia (blue-blind)
#003333
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c303a;
/* rgb */ color: rgb(12, 48, 58);
/* oklch */ color: oklch(28.9% 0.044 219.8);
Tailwind
colors: {
  custom: {
    50: '#526870',
    500: '#0c303a',
    950: '#000000',
  },
}
SCSS
$custom: #0c303a;
$custom-light: #526870;
$custom-dark: #000000;
JSON
{
  "hex": "#0c303a",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 58
  },
  "hsl": {
    "h": 193.043,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28877,
    "c": 0.04384,
    "h": 219.8
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#0C303A
secondary
#763C2C
accent
#643FE9
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C303A

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

Preview Lab → · Contrast checker → · Palette generator →

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