#0C0929#0C0929

#0C0929 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.063 H 281.6°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#0C0929
RGBrgb(12, 9, 41)
HSLhsl(246, 64%, 10%)
HSVhsv(246, 78%, 16%)
CMYKcmyk(70.7%, 78%, 0%, 83.9%)
CIE-LABlab(3.92, 9.72, -19.69)
CIE-LCHlch(3.92, 21.96, 296.27°)
OKLaboklab(16.86% 0.0126 -0.0615)
OKLCHoklch(16.86% 0.063 281.6)
XYZxyz(0.6494, 0.4336, 2.1469)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0929 #262909
analogous
#091629 #0C0929 #1C0929
triadic
#0C0929 #290C09 #09290C
tetradic
#0C0929 #290916 #262909 #09291C
square
#0C0929 #290916 #262909 #09291C
split-complementary
#0C0929 #291C09 #162909
monochromatic
#070619 #070619 #0C0929 #1B145B #291F8D

Accessibility & contrast

On white

19.32
#0C0929 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0C0929 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0929
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0929#FFFFFF#000000##FFFFFF
##0C09291.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2A
Deuteranopia (green-blind)
#000D28
Tritanopia (blue-blind)
#011117
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0c0929;
/* rgb */ color: rgb(12, 9, 41);
/* oklch */ color: oklch(16.9% 0.063 281.6);
Tailwind
colors: {
  custom: {
    50: '#4d4a63',
    500: '#0c0929',
    950: '#000000',
  },
}
SCSS
$custom: #0c0929;
$custom-light: #4d4a63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0929",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 41
  },
  "hsl": {
    "h": 245.625,
    "s": 64,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16862,
    "c": 0.0628,
    "h": 281.6
  },
  "luminance": 0.00434
}

Semantic roles & 50–950 ramp

primary
#0C0929
secondary
#616727
accent
#E741D7
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #0C0929

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

Preview Lab → · Contrast checker → · Palette generator →

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