#0C092E#0C092E

#0C092E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.071 H 279.7°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#0C092E
RGBrgb(12, 9, 46)
HSLhsl(245, 67%, 11%)
HSVhsv(245, 80%, 18%)
CMYKcmyk(73.9%, 80.4%, 0%, 82%)
CIE-LABlab(4.25, 12.08, -22.94)
CIE-LCHlch(4.25, 25.93, 297.77°)
OKLaboklab(17.41% 0.012 -0.0701)
OKLCHoklch(17.41% 0.071 279.7)
XYZxyz(0.7423, 0.4707, 2.6360)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C092E #2B2E09
analogous
#09182E #0C092E #1E092E
triadic
#0C092E #2E0C09 #092E0C
tetradic
#0C092E #2E0918 #2B2E09 #092E1E
square
#0C092E #2E0918 #2B2E09 #092E1E
split-complementary
#0C092E #2E1E09 #182E09
monochromatic
#07051A #07051A #0C092E #191361 #271D94

Accessibility & contrast

On white

19.19
#0C092E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C092E
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C092E#FFFFFF#000000##FFFFFF
##0C092E1.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#000D2D
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0c092e;
/* rgb */ color: rgb(12, 9, 46);
/* oklch */ color: oklch(17.4% 0.071 279.7);
Tailwind
colors: {
  custom: {
    50: '#4e4a67',
    500: '#0c092e',
    950: '#000000',
  },
}
SCSS
$custom: #0c092e;
$custom-light: #4e4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c092e",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 46
  },
  "hsl": {
    "h": 244.865,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17408,
    "c": 0.07112,
    "h": 279.7
  },
  "luminance": 0.00471
}

Semantic roles & 50–950 ramp

primary
#0C092E
secondary
#666C27
accent
#EA3EDC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0C092E

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

Preview Lab → · Contrast checker → · Palette generator →

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