#0C083A#0C083A

#0C083A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.091 H 276.5°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#0C083A
RGBrgb(12, 8, 58)
HSLhsl(245, 76%, 13%)
HSVhsv(245, 86%, 23%)
CMYKcmyk(79.3%, 86.2%, 0%, 77.3%)
CIE-LABlab(5.03, 18.97, -30.54)
CIE-LCHlch(5.03, 35.95, 301.85°)
OKLaboklab(18.64% 0.0104 -0.0906)
OKLCHoklch(18.64% 0.091 276.5)
XYZxyz(1.0019, 0.5572, 4.0569)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C083A #363A08
analogous
#081D3A #0C083A #25083A
triadic
#0C083A #3A0C08 #083A0C
tetradic
#0C083A #3A081D #363A08 #083A25
square
#0C083A #3A081D #363A08 #083A25
split-complementary
#0C083A #3A2508 #1D3A08
monochromatic
#06041B #06041B #0C083A #170F70 #2217A6

Accessibility & contrast

On white

18.90
#0C083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C083A
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C083A#FFFFFF#000000##FFFFFF
##0C083A1.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#000F39
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0c083a;
/* rgb */ color: rgb(12, 8, 58);
/* oklch */ color: oklch(18.6% 0.091 276.5);
Tailwind
colors: {
  custom: {
    50: '#524971',
    500: '#0c083a',
    950: '#000000',
  },
}
SCSS
$custom: #0c083a;
$custom-light: #524971;
$custom-dark: #000000;
JSON
{
  "hex": "#0c083a",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 244.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18638,
    "c": 0.09117,
    "h": 276.5
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#0C083A
secondary
#727925
accent
#F235E3
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0C083A

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

Preview Lab → · Contrast checker → · Palette generator →

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