#0C313D#0C313D

#0C313D is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.046 H 223.5°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#0C313D
RGBrgb(12, 49, 61)
HSLhsl(195, 67%, 14%)
HSVhsv(195, 80%, 24%)
CMYKcmyk(80.3%, 19.7%, 0%, 76.1%)
CIE-LABlab(18.42, -8.22, -11.35)
CIE-LCHlch(18.42, 14.02, 234.09°)
OKLaboklab(29.33% -0.0335 -0.0317)
OKLCHoklch(29.33% 0.046 223.5)
XYZxyz(2.0919, 2.6115, 4.8078)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C313D #3D180C
analogous
#0C3D31 #0C313D #0C193D
triadic
#0C313D #3D0C31 #313D0C
tetradic
#0C313D #310C3D #3D180C #193D0C
square
#0C313D #310C3D #3D180C #193D0C
split-complementary
#0C313D #3D0C19 #3D310C
monochromatic
#05151A #05151A #0C313D #165A70 #2083A3

Accessibility & contrast

On white

13.79
#0C313D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C313D
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C313D#FFFFFF#000000##FFFFFF
##0C313D1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A303E
Deuteranopia (green-blind)
#232B3D
Tritanopia (blue-blind)
#003535
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c313d;
/* rgb */ color: rgb(12, 49, 61);
/* oklch */ color: oklch(29.3% 0.046 223.5);
Tailwind
colors: {
  custom: {
    50: '#536972',
    500: '#0c313d',
    950: '#000000',
  },
}
SCSS
$custom: #0c313d;
$custom-light: #536972;
$custom-dark: #000000;
JSON
{
  "hex": "#0c313d",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 194.694,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.29331,
    "c": 0.04614,
    "h": 223.5
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#0C313D
secondary
#793F2C
accent
#683EEA
background
#F4F6F6
surface
#E8EBEC
border
#C4C6C7
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C313D

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

Preview Lab → · Contrast checker → · Palette generator →

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