#0C1923#0C1923

#0C1923 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.7% C 0.027 H 242.8°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#0C1923
RGBrgb(12, 25, 35)
HSLhsl(206, 49%, 9%)
HSVhsv(206, 66%, 14%)
CMYKcmyk(65.7%, 28.6%, 0%, 86.3%)
CIE-LABlab(8.08, -1.96, -8.66)
CIE-LCHlch(8.08, 8.88, 257.25°)
OKLaboklab(20.67% -0.0124 -0.0241)
OKLCHoklch(20.67% 0.027 242.8)
XYZxyz(0.8025, 0.8947, 1.7202)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1923 #23160C
analogous
#0C2322 #0C1923 #0C0E23
triadic
#0C1923 #230C19 #19230C
tetradic
#0C1923 #220C23 #23160C #0E230C
square
#0C1923 #220C23 #23160C #0E230C
split-complementary
#0C1923 #230C0E #23220C
monochromatic
#081017 #081017 #0C1923 #1C3A51 #2B5A7E

Accessibility & contrast

On white

17.81
#0C1923 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0C1923 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1923
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1923#FFFFFF#000000##FFFFFF
##0C19231.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151923
Deuteranopia (green-blind)
#121723
Tritanopia (blue-blind)
#031B1C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0c1923;
/* rgb */ color: rgb(12, 25, 35);
/* oklch */ color: oklch(20.7% 0.027 242.8);
Tailwind
colors: {
  custom: {
    50: '#4c555d',
    500: '#0c1923',
    950: '#000000',
  },
}
SCSS
$custom: #0c1923;
$custom-light: #4c555d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1923",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 35
  },
  "hsl": {
    "h": 206.087,
    "s": 48.936,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20669,
    "c": 0.02716,
    "h": 242.8
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

primary
#0C1923
secondary
#5D422E
accent
#8B4FD8
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010304
muted
#777879

Preview Lab

Preview with #0C1923

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

Preview Lab → · Contrast checker → · Palette generator →

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