#0C313E#0C313E

#0C313E is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.4% C 0.047 H 225.4°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#0C313E
RGBrgb(12, 49, 62)
HSLhsl(196, 68%, 15%)
HSVhsv(196, 81%, 24%)
CMYKcmyk(80.6%, 21%, 0%, 75.7%)
CIE-LABlab(18.46, -7.82, -11.97)
CIE-LCHlch(18.46, 14.30, 236.83°)
OKLaboklab(29.39% -0.033 -0.0335)
OKLCHoklch(29.39% 0.047 225.4)
XYZxyz(2.1191, 2.6223, 4.9510)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C313E #3E190C
analogous
#0C3E32 #0C313E #0C183E
triadic
#0C313E #3E0C31 #313E0C
tetradic
#0C313E #320C3E #3E190C #183E0C
square
#0C313E #320C3E #3E190C #183E0C
split-complementary
#0C313E #3E0C18 #3E320C
monochromatic
#05141A #05141A #0C313E #165A71 #2082A5

Accessibility & contrast

On white

13.77
#0C313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C313E
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C313E#FFFFFF#000000##FFFFFF
##0C313E1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c313e;
/* rgb */ color: rgb(12, 49, 62);
/* oklch */ color: oklch(29.4% 0.047 225.4);
Tailwind
colors: {
  custom: {
    50: '#536973',
    500: '#0c313e',
    950: '#000000',
  },
}
SCSS
$custom: #0c313e;
$custom-light: #536973;
$custom-dark: #000000;
JSON
{
  "hex": "#0c313e",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 195.6,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.29385,
    "c": 0.04704,
    "h": 225.4
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#0C313E
secondary
#7A402C
accent
#6A3DEA
background
#F4F6F6
surface
#E8EBEC
border
#C4C6C7
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C313E

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

Preview Lab → · Contrast checker → · Palette generator →

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