#0C313B#0C313B

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

Color values

HEX#0C313B
RGBrgb(12, 49, 59)
HSLhsl(193, 66%, 14%)
HSVhsv(193, 80%, 23%)
CMYKcmyk(79.7%, 16.9%, 0%, 76.9%)
CIE-LABlab(18.32, -9.01, -10.12)
CIE-LCHlch(18.32, 13.55, 228.32°)
OKLaboklab(29.23% -0.0344 -0.0282)
OKLCHoklch(29.23% 0.045 219.3)
XYZxyz(2.0390, 2.5903, 4.5293)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C313B #3B160C
analogous
#0C3B2E #0C313B #0C1A3B
triadic
#0C313B #3B0C31 #313B0C
tetradic
#0C313B #2E0C3B #3B160C #1A3B0C
square
#0C313B #2E0C3B #3B160C #1A3B0C
split-complementary
#0C313B #3B0C1A #3B2E0C
monochromatic
#051519 #051519 #0C313B #165B6E #2185A1

Accessibility & contrast

On white

13.83
#0C313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C313B
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C313B#FFFFFF#000000##FFFFFF
##0C313B1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2F3C
Deuteranopia (green-blind)
#242B3B
Tritanopia (blue-blind)
#003434
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c313b;
/* rgb */ color: rgb(12, 49, 59);
/* oklch */ color: oklch(29.2% 0.045 219.3);
Tailwind
colors: {
  custom: {
    50: '#526971',
    500: '#0c313b',
    950: '#000000',
  },
}
SCSS
$custom: #0c313b;
$custom-light: #526971;
$custom-dark: #000000;
JSON
{
  "hex": "#0c313b",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 192.766,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.29226,
    "c": 0.04453,
    "h": 219.3
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#0C313B
secondary
#773C2C
accent
#633FE9
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#030607
muted
#787A7A

Preview Lab

Preview with #0C313B

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

Preview Lab → · Contrast checker → · Palette generator →

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