#0C083C#0C083C

#0C083C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.094 H 276.0°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#0C083C
RGBrgb(12, 8, 60)
HSLhsl(245, 76%, 13%)
HSVhsv(245, 87%, 24%)
CMYKcmyk(80%, 86.7%, 0%, 76.5%)
CIE-LABlab(5.22, 20.02, -31.68)
CIE-LCHlch(5.22, 37.48, 302.29°)
OKLaboklab(18.89% 0.0098 -0.0936)
OKLCHoklch(18.89% 0.094 276)
XYZxyz(1.0538, 0.5780, 4.3301)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C083C #383C08
analogous
#081E3C #0C083C #26083C
triadic
#0C083C #3C0C08 #083C0C
tetradic
#0C083C #3C081E #383C08 #083C26
square
#0C083C #3C081E #383C08 #083C26
split-complementary
#0C083C #3C2608 #1E3C08
monochromatic
#05041B #05041B #0C083C #170F72 #2216A8

Accessibility & contrast

On white

18.82
#0C083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0C083C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C083C
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C083C#FFFFFF#000000##FFFFFF
##0C083C1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143D
Deuteranopia (green-blind)
#000F3B
Tritanopia (blue-blind)
#001721
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0c083c;
/* rgb */ color: rgb(12, 8, 60);
/* oklch */ color: oklch(18.9% 0.094 276.0);
Tailwind
colors: {
  custom: {
    50: '#534972',
    500: '#0c083c',
    950: '#000000',
  },
}
SCSS
$custom: #0c083c;
$custom-light: #534972;
$custom-dark: #000000;
JSON
{
  "hex": "#0c083c",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 244.615,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18891,
    "c": 0.0941,
    "h": 276
  },
  "luminance": 0.00578
}

Semantic roles & 50–950 ramp

primary
#0C083C
secondary
#747B25
accent
#F335E4
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C083C

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

Preview Lab → · Contrast checker → · Palette generator →

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