#0C092D#0C092D

#0C092D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.3% C 0.069 H 280.0°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#0C092D
RGBrgb(12, 9, 45)
HSLhsl(245, 67%, 11%)
HSVhsv(245, 80%, 18%)
CMYKcmyk(73.3%, 80%, 0%, 82.4%)
CIE-LABlab(4.18, 11.59, -22.30)
CIE-LCHlch(4.18, 25.13, 297.45°)
OKLaboklab(17.3% 0.0121 -0.0684)
OKLCHoklch(17.3% 0.069 280)
XYZxyz(0.7228, 0.4629, 2.5334)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C092D #2A2D09
analogous
#09182D #0C092D #1E092D
triadic
#0C092D #2D0C09 #092D0C
tetradic
#0C092D #2D0918 #2A2D09 #092D1E
square
#0C092D #2D0918 #2A2D09 #092D1E
split-complementary
#0C092D #2D1E09 #182D09
monochromatic
#07051A #07051A #0C092D #1A1360 #271D93

Accessibility & contrast

On white

19.22
#0C092D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C092D
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C092D#FFFFFF#000000##FFFFFF
##0C092D1.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#000D2C
Tritanopia (blue-blind)
#001219
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0c092d;
/* rgb */ color: rgb(12, 9, 45);
/* oklch */ color: oklch(17.3% 0.069 280.0);
Tailwind
colors: {
  custom: {
    50: '#4e4a66',
    500: '#0c092d',
    950: '#000000',
  },
}
SCSS
$custom: #0c092d;
$custom-light: #4e4a66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c092d",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 45
  },
  "hsl": {
    "h": 245,
    "s": 66.667,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17296,
    "c": 0.06948,
    "h": 280
  },
  "luminance": 0.00463
}

Semantic roles & 50–950 ramp

primary
#0C092D
secondary
#656B27
accent
#EA3EDB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0C092D

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

Preview Lab → · Contrast checker → · Palette generator →

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