#0C242F#0C242F

#0C242F is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.7% C 0.036 H 230.5°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#0C242F
RGBrgb(12, 36, 47)
HSLhsl(199, 59%, 12%)
HSVhsv(199, 74%, 18%)
CMYKcmyk(74.5%, 23.4%, 0%, 81.6%)
CIE-LABlab(12.89, -5.10, -10.04)
CIE-LCHlch(12.89, 11.26, 243.09°)
OKLaboklab(24.69% -0.0231 -0.0281)
OKLCHoklch(24.69% 0.036 230.5)
XYZxyz(1.2954, 1.5450, 2.9187)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C242F #2F170C
analogous
#0C2F29 #0C242F #0C132F
triadic
#0C242F #2F0C24 #242F0C
tetradic
#0C242F #290C2F #2F170C #132F0C
square
#0C242F #290C2F #2F170C #132F0C
split-complementary
#0C242F #2F0C13 #2F290C
monochromatic
#061318 #061318 #0C242F #184960 #256F91

Accessibility & contrast

On white

16.04
#0C242F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C242F
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C242F#FFFFFF#000000##FFFFFF
##0C242F1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2330
Deuteranopia (green-blind)
#1A202F
Tritanopia (blue-blind)
#002728
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c242f;
/* rgb */ color: rgb(12, 36, 47);
/* oklch */ color: oklch(24.7% 0.036 230.5);
Tailwind
colors: {
  custom: {
    50: '#4f5e67',
    500: '#0c242f',
    950: '#000000',
  },
}
SCSS
$custom: #0c242f;
$custom-light: #4f5e67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c242f",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 198.857,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.24692,
    "c": 0.03635,
    "h": 230.5
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#0C242F
secondary
#6B402C
accent
#7745E3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #0C242F

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

Preview Lab → · Contrast checker → · Palette generator →

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