#0C0733#0C0733

#0C0733 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.082 H 279.2°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#0C0733
RGBrgb(12, 7, 51)
HSLhsl(247, 76%, 11%)
HSVhsv(247, 86%, 20%)
CMYKcmyk(76.5%, 86.3%, 0%, 80%)
CIE-LABlab(4.24, 15.53, -26.69)
CIE-LCHlch(4.24, 30.88, 300.19°)
OKLaboklab(17.57% 0.0131 -0.0811)
OKLCHoklch(17.57% 0.082 279.2)
XYZxyz(0.8249, 0.4691, 3.1784)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0733 #2E3307
analogous
#071833 #0C0733 #220733
triadic
#0C0733 #330C07 #07330C
tetradic
#0C0733 #330718 #2E3307 #073322
square
#0C0733 #330718 #2E3307 #073322
split-complementary
#0C0733 #332207 #183307
monochromatic
#06041B #06041B #0C0733 #190E69 #25169F

Accessibility & contrast

On white

19.20
#0C0733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0733
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0733#FFFFFF#000000##FFFFFF
##0C07331.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001034
Deuteranopia (green-blind)
#000D32
Tritanopia (blue-blind)
#00131C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0c0733;
/* rgb */ color: rgb(12, 7, 51);
/* oklch */ color: oklch(17.6% 0.082 279.2);
Tailwind
colors: {
  custom: {
    50: '#50496b',
    500: '#0c0733',
    950: '#000000',
  },
}
SCSS
$custom: #0c0733;
$custom-light: #50496b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0733",
  "rgb": {
    "r": 12,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 246.818,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17567,
    "c": 0.08217,
    "h": 279.2
  },
  "luminance": 0.00469
}

Semantic roles & 50–950 ramp

primary
#0C0733
secondary
#6A7323
accent
#F235DD
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0C0733

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

Preview Lab → · Contrast checker → · Palette generator →

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