#0C242D#0C242D

#0C242D is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.6% C 0.034 H 225.4°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#0C242D
RGBrgb(12, 36, 45)
HSLhsl(196, 58%, 11%)
HSVhsv(196, 73%, 18%)
CMYKcmyk(73.3%, 20%, 0%, 82.4%)
CIE-LABlab(12.79, -5.90, -8.76)
CIE-LCHlch(12.79, 10.56, 236.04°)
OKLaboklab(24.58% -0.024 -0.0244)
OKLCHoklch(24.58% 0.034 225.4)
XYZxyz(1.2560, 1.5293, 2.7111)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C242D #2D150C
analogous
#0C2D25 #0C242D #0C132D
triadic
#0C242D #2D0C24 #242D0C
tetradic
#0C242D #250C2D #2D150C #132D0C
square
#0C242D #250C2D #2D150C #132D0C
split-complementary
#0C242D #2D0C13 #2D250C
monochromatic
#061318 #061318 #0C242D #194B5D #26718E

Accessibility & contrast

On white

16.08
#0C242D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0C242D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C242D
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C242D#FFFFFF#000000##FFFFFF
##0C242D1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232D
Deuteranopia (green-blind)
#1A202D
Tritanopia (blue-blind)
#002727
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c242d;
/* rgb */ color: rgb(12, 36, 45);
/* oklch */ color: oklch(24.6% 0.034 225.4);
Tailwind
colors: {
  custom: {
    50: '#4f5e65',
    500: '#0c242d',
    950: '#000000',
  },
}
SCSS
$custom: #0c242d;
$custom-light: #4f5e65;
$custom-dark: #000000;
JSON
{
  "hex": "#0c242d",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 45
  },
  "hsl": {
    "h": 196.364,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2458,
    "c": 0.03426,
    "h": 225.4
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#0C242D
secondary
#693D2C
accent
#7147E1
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020405
muted
#78797A

Preview Lab

Preview with #0C242D

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

Preview Lab → · Contrast checker → · Palette generator →

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