#0C092B#0C092B

#0C092B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.066 H 280.8°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#0C092B
RGBrgb(12, 9, 43)
HSLhsl(245, 65%, 10%)
HSVhsv(245, 79%, 17%)
CMYKcmyk(72.1%, 79.1%, 0%, 83.1%)
CIE-LABlab(4.05, 10.63, -21.01)
CIE-LCHlch(4.05, 23.54, 296.84°)
OKLaboklab(17.08% 0.0124 -0.065)
OKLCHoklch(17.08% 0.066 280.8)
XYZxyz(0.6852, 0.4479, 2.3354)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C092B #282B09
analogous
#09172B #0C092B #1D092B
triadic
#0C092B #2B0C09 #092B0C
tetradic
#0C092B #2B0917 #282B09 #092B1D
square
#0C092B #2B0917 #282B09 #092B1D
split-complementary
#0C092B #2B1D09 #172B09
monochromatic
#070519 #070519 #0C092B #1A145E #281E90

Accessibility & contrast

On white

19.27
#0C092B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C092B
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C092B#FFFFFF#000000##FFFFFF
##0C092B1.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#000D2A
Tritanopia (blue-blind)
#001118
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0c092b;
/* rgb */ color: rgb(12, 9, 43);
/* oklch */ color: oklch(17.1% 0.066 280.8);
Tailwind
colors: {
  custom: {
    50: '#4d4a64',
    500: '#0c092b',
    950: '#000000',
  },
}
SCSS
$custom: #0c092b;
$custom-light: #4d4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#0c092b",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 43
  },
  "hsl": {
    "h": 245.294,
    "s": 65.385,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17077,
    "c": 0.06618,
    "h": 280.8
  },
  "luminance": 0.00448
}

Semantic roles & 50–950 ramp

primary
#0C092B
secondary
#636927
accent
#E83FD9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #0C092B

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

Preview Lab → · Contrast checker → · Palette generator →

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