#0C092A#0C092A

#0C092A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.0% C 0.065 H 281.2°. Best body text is #FFFFFF at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#0C092A
RGBrgb(12, 9, 42)
HSLhsl(245, 65%, 10%)
HSVhsv(245, 79%, 16%)
CMYKcmyk(71.4%, 78.6%, 0%, 83.5%)
CIE-LABlab(3.98, 10.17, -20.35)
CIE-LCHlch(3.98, 22.75, 296.55°)
OKLaboklab(16.97% 0.0125 -0.0633)
OKLCHoklch(16.97% 0.065 281.2)
XYZxyz(0.6671, 0.4407, 2.2399)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C092A #272A09
analogous
#09162A #0C092A #1D092A
triadic
#0C092A #2A0C09 #092A0C
tetradic
#0C092A #2A0916 #272A09 #092A1D
square
#0C092A #2A0916 #272A09 #092A1D
split-complementary
#0C092A #2A1D09 #162A09
monochromatic
#070519 #070519 #0C092A #1A145C #291F8F

Accessibility & contrast

On white

19.30
#0C092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C092A
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C092A#FFFFFF#000000##FFFFFF
##0C092A1.0019.301.0919.30
#FFFFFF19.301.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2B
Deuteranopia (green-blind)
#000D29
Tritanopia (blue-blind)
#011118
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0c092a;
/* rgb */ color: rgb(12, 9, 42);
/* oklch */ color: oklch(17.0% 0.065 281.2);
Tailwind
colors: {
  custom: {
    50: '#4d4a63',
    500: '#0c092a',
    950: '#000000',
  },
}
SCSS
$custom: #0c092a;
$custom-light: #4d4a63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c092a",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 245.455,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.16969,
    "c": 0.0645,
    "h": 281.2
  },
  "luminance": 0.00441
}

Semantic roles & 50–950 ramp

primary
#0C092A
secondary
#626827
accent
#E840D8
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #0C092A

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

Preview Lab → · Contrast checker → · Palette generator →

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