#0C0735#0C0735

#0C0735 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.085 H 278.5°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#0C0735
RGBrgb(12, 7, 53)
HSLhsl(247, 77%, 12%)
HSVhsv(247, 87%, 21%)
CMYKcmyk(77.4%, 86.8%, 0%, 79.2%)
CIE-LABlab(4.40, 16.66, -27.90)
CIE-LCHlch(4.40, 32.50, 300.84°)
OKLaboklab(17.82% 0.0125 -0.0842)
OKLCHoklch(17.82% 0.085 278.5)
XYZxyz(0.8700, 0.4871, 3.4156)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0735 #303507
analogous
#071935 #0C0735 #230735
triadic
#0C0735 #350C07 #07350C
tetradic
#0C0735 #350719 #303507 #073523
square
#0C0735 #350719 #303507 #073523
split-complementary
#0C0735 #352307 #193507
monochromatic
#06041B #06041B #0C0735 #180E6B #2415A1

Accessibility & contrast

On white

19.14
#0C0735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0735
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0735#FFFFFF#000000##FFFFFF
##0C07351.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#000D34
Tritanopia (blue-blind)
#00141D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0c0735;
/* rgb */ color: rgb(12, 7, 53);
/* oklch */ color: oklch(17.8% 0.085 278.5);
Tailwind
colors: {
  custom: {
    50: '#50496d',
    500: '#0c0735',
    950: '#000000',
  },
}
SCSS
$custom: #0c0735;
$custom-light: #50496d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0735",
  "rgb": {
    "r": 12,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 246.522,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17815,
    "c": 0.08518,
    "h": 278.5
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#0C0735
secondary
#6C7523
accent
#F335DE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0C0735

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

Preview Lab → · Contrast checker → · Palette generator →

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