#0C0730#0C0730

#0C0730 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.078 H 280.3°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#0C0730
RGBrgb(12, 7, 48)
HSLhsl(247, 75%, 11%)
HSVhsv(247, 85%, 19%)
CMYKcmyk(75%, 85.4%, 0%, 81.2%)
CIE-LABlab(4.01, 13.90, -24.83)
CIE-LCHlch(4.01, 28.45, 299.25°)
OKLaboklab(17.2% 0.0138 -0.0763)
OKLCHoklch(17.2% 0.078 280.3)
XYZxyz(0.7609, 0.4435, 2.8412)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0730 #2B3007
analogous
#071630 #0C0730 #200730
triadic
#0C0730 #300C07 #07300C
tetradic
#0C0730 #300716 #2B3007 #073020
square
#0C0730 #300716 #2B3007 #073020
split-complementary
#0C0730 #302007 #163007
monochromatic
#07041B #07041B #0C0730 #190F65 #27179B

Accessibility & contrast

On white

19.29
#0C0730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0730
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0730#FFFFFF#000000##FFFFFF
##0C07301.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001031
Deuteranopia (green-blind)
#000D2F
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0c0730;
/* rgb */ color: rgb(12, 7, 48);
/* oklch */ color: oklch(17.2% 0.078 280.3);
Tailwind
colors: {
  custom: {
    50: '#4f4969',
    500: '#0c0730',
    950: '#000000',
  },
}
SCSS
$custom: #0c0730;
$custom-light: #4f4969;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0730",
  "rgb": {
    "r": 12,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 247.317,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17202,
    "c": 0.07757,
    "h": 280.3
  },
  "luminance": 0.00444
}

Semantic roles & 50–950 ramp

primary
#0C0730
secondary
#667023
accent
#F137DA
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0C0730

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

Preview Lab → · Contrast checker → · Palette generator →

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