#0C073D#0C073D

#0C073D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.097 H 276.1°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#0C073D
RGBrgb(12, 7, 61)
HSLhsl(246, 79%, 13%)
HSVhsv(246, 89%, 24%)
CMYKcmyk(80.3%, 88.5%, 0%, 76.1%)
CIE-LABlab(5.12, 21.01, -32.56)
CIE-LCHlch(5.12, 38.75, 302.83°)
OKLaboklab(18.84% 0.0102 -0.0963)
OKLCHoklch(18.84% 0.097 276.1)
XYZxyz(1.0696, 0.5669, 4.4670)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C073D #383D07
analogous
#071D3D #0C073D #27073D
triadic
#0C073D #3D0C07 #073D0C
tetradic
#0C073D #3D071D #383D07 #073D27
square
#0C073D #3D071D #383D07 #073D27
split-complementary
#0C073D #3D2707 #1D3D07
monochromatic
#05031B #05031B #0C073D #170D74 #2214AB

Accessibility & contrast

On white

18.86
#0C073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0C073D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C073D
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C073D#FFFFFF#000000##FFFFFF
##0C073D1.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133F
Deuteranopia (green-blind)
#000F3C
Tritanopia (blue-blind)
#001722
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0c073d;
/* rgb */ color: rgb(12, 7, 61);
/* oklch */ color: oklch(18.8% 0.097 276.1);
Tailwind
colors: {
  custom: {
    50: '#534973',
    500: '#0c073d',
    950: '#000000',
  },
}
SCSS
$custom: #0c073d;
$custom-light: #534973;
$custom-dark: #000000;
JSON
{
  "hex": "#0c073d",
  "rgb": {
    "r": 12,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 245.556,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18836,
    "c": 0.09685,
    "h": 276.1
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#0C073D
secondary
#747C23
accent
#F632E4
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0C073D

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

Preview Lab → · Contrast checker → · Palette generator →

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