#0C092F#0C092F

#0C092F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.5% C 0.073 H 279.3°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#0C092F
RGBrgb(12, 9, 47)
HSLhsl(245, 68%, 11%)
HSVhsv(245, 81%, 18%)
CMYKcmyk(74.5%, 80.9%, 0%, 81.6%)
CIE-LABlab(4.32, 12.58, -23.57)
CIE-LCHlch(4.32, 26.72, 298.09°)
OKLaboklab(17.52% 0.0118 -0.0718)
OKLCHoklch(17.52% 0.073 279.3)
XYZxyz(0.7622, 0.4787, 2.7410)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C092F #2C2F09
analogous
#09192F #0C092F #1F092F
triadic
#0C092F #2F0C09 #092F0C
tetradic
#0C092F #2F0919 #2C2F09 #092F1F
square
#0C092F #2F0919 #2C2F09 #092F1F
split-complementary
#0C092F #2F1F09 #192F09
monochromatic
#07051A #07051A #0C092F #191362 #261D96

Accessibility & contrast

On white

19.16
#0C092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0C092F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C092F
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C092F#FFFFFF#000000##FFFFFF
##0C092F1.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0c092f;
/* rgb */ color: rgb(12, 9, 47);
/* oklch */ color: oklch(17.5% 0.073 279.3);
Tailwind
colors: {
  custom: {
    50: '#4e4a68',
    500: '#0c092f',
    950: '#000000',
  },
}
SCSS
$custom: #0c092f;
$custom-light: #4e4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#0c092f",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 244.737,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17521,
    "c": 0.07275,
    "h": 279.3
  },
  "luminance": 0.00479
}

Semantic roles & 50–950 ramp

primary
#0C092F
secondary
#676D27
accent
#EB3DDD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0C092F

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

Preview Lab → · Contrast checker → · Palette generator →

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