#0C092C#0C092C

#0C092C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.2% C 0.068 H 280.4°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#0C092C
RGBrgb(12, 9, 44)
HSLhsl(245, 66%, 10%)
HSVhsv(245, 80%, 17%)
CMYKcmyk(72.7%, 79.5%, 0%, 82.7%)
CIE-LABlab(4.11, 11.10, -21.66)
CIE-LCHlch(4.11, 24.34, 297.14°)
OKLaboklab(17.19% 0.0123 -0.0667)
OKLCHoklch(17.19% 0.068 280.4)
XYZxyz(0.7038, 0.4553, 2.4332)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C092C #292C09
analogous
#09172C #0C092C #1D092C
triadic
#0C092C #2C0C09 #092C0C
tetradic
#0C092C #2C0917 #292C09 #092C1D
square
#0C092C #2C0917 #292C09 #092C1D
split-complementary
#0C092C #2C1D09 #172C09
monochromatic
#070519 #070519 #0C092C #1A135F #281E92

Accessibility & contrast

On white

19.25
#0C092C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C092C
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C092C#FFFFFF#000000##FFFFFF
##0C092C1.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#000D2B
Tritanopia (blue-blind)
#001219
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0c092c;
/* rgb */ color: rgb(12, 9, 44);
/* oklch */ color: oklch(17.2% 0.068 280.4);
Tailwind
colors: {
  custom: {
    50: '#4d4a65',
    500: '#0c092c',
    950: '#000000',
  },
}
SCSS
$custom: #0c092c;
$custom-light: #4d4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#0c092c",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 44
  },
  "hsl": {
    "h": 245.143,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17186,
    "c": 0.06784,
    "h": 280.4
  },
  "luminance": 0.00455
}

Semantic roles & 50–950 ramp

primary
#0C092C
secondary
#646A27
accent
#E93FDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0C092C

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

Preview Lab → · Contrast checker → · Palette generator →

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