#0C0736#0C0736

#0C0736 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.087 H 278.1°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#0C0736
RGBrgb(12, 7, 54)
HSLhsl(246, 77%, 12%)
HSVhsv(246, 87%, 21%)
CMYKcmyk(77.8%, 87%, 0%, 78.8%)
CIE-LABlab(4.48, 17.22, -28.50)
CIE-LCHlch(4.48, 33.30, 301.14°)
OKLaboklab(17.94% 0.0123 -0.0858)
OKLCHoklch(17.94% 0.087 278.1)
XYZxyz(0.8932, 0.4964, 3.5381)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0736 #313607
analogous
#071A36 #0C0736 #240736
triadic
#0C0736 #360C07 #07360C
tetradic
#0C0736 #36071A #313607 #073624
square
#0C0736 #36071A #313607 #073624
split-complementary
#0C0736 #362407 #1A3607
monochromatic
#06041B #06041B #0C0736 #180E6C #2415A2

Accessibility & contrast

On white

19.10
#0C0736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0736
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0736#FFFFFF#000000##FFFFFF
##0C07361.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001137
Deuteranopia (green-blind)
#000E35
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0c0736;
/* rgb */ color: rgb(12, 7, 54);
/* oklch */ color: oklch(17.9% 0.087 278.1);
Tailwind
colors: {
  custom: {
    50: '#51496d',
    500: '#0c0736',
    950: '#000000',
  },
}
SCSS
$custom: #0c0736;
$custom-light: #51496d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0736",
  "rgb": {
    "r": 12,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 246.383,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.1794,
    "c": 0.08666,
    "h": 278.1
  },
  "luminance": 0.00496
}

Semantic roles & 50–950 ramp

primary
#0C0736
secondary
#6D7623
accent
#F434DF
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0C0736

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

Preview Lab → · Contrast checker → · Palette generator →

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