#0C313A#0C313A

#0C313A is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.2% C 0.044 H 217.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#0C313A
RGBrgb(12, 49, 58)
HSLhsl(192, 66%, 14%)
HSVhsv(192, 79%, 23%)
CMYKcmyk(79.3%, 15.5%, 0%, 77.3%)
CIE-LABlab(18.28, -9.40, -9.50)
CIE-LCHlch(18.28, 13.37, 225.31°)
OKLaboklab(29.17% -0.0349 -0.0265)
OKLCHoklch(29.17% 0.044 217.2)
XYZxyz(2.0133, 2.5801, 4.3941)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C313A #3A150C
analogous
#0C3A2C #0C313A #0C1A3A
triadic
#0C313A #3A0C31 #313A0C
tetradic
#0C313A #2C0C3A #3A150C #1A3A0C
square
#0C313A #2C0C3A #3A150C #1A3A0C
split-complementary
#0C313A #3A0C1A #3A2C0C
monochromatic
#051519 #051519 #0C313A #165C6D #21879F

Accessibility & contrast

On white

13.85
#0C313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0C313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C313A
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C313A#FFFFFF#000000##FFFFFF
##0C313A1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2F3A
Deuteranopia (green-blind)
#252B3A
Tritanopia (blue-blind)
#003434
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c313a;
/* rgb */ color: rgb(12, 49, 58);
/* oklch */ color: oklch(29.2% 0.044 217.2);
Tailwind
colors: {
  custom: {
    50: '#526970',
    500: '#0c313a',
    950: '#000000',
  },
}
SCSS
$custom: #0c313a;
$custom-light: #526970;
$custom-dark: #000000;
JSON
{
  "hex": "#0c313a",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 191.739,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29174,
    "c": 0.04383,
    "h": 217.2
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#0C313A
secondary
#763A2C
accent
#603FE9
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C313A

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

Preview Lab → · Contrast checker → · Palette generator →

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