#0C084A#0C084A

#0C084A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.7% C 0.114 H 273.0°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#0C084A
RGBrgb(12, 8, 74)
HSLhsl(244, 80%, 16%)
HSVhsv(244, 89%, 29%)
CMYKcmyk(83.8%, 89.2%, 0%, 71%)
CIE-LABlab(6.74, 26.68, -39.13)
CIE-LCHlch(6.74, 47.36, 304.28°)
OKLaboklab(20.73% 0.0059 -0.1136)
OKLCHoklch(20.73% 0.114 273)
XYZxyz(1.4741, 0.7461, 6.5436)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C084A #464A08
analogous
#08254A #0C084A #2D084A
triadic
#0C084A #4A0C08 #084A0C
tetradic
#0C084A #4A0825 #464A08 #084A2D
square
#0C084A #4A0825 #464A08 #084A2D
split-complementary
#0C084A #4A2D08 #254A08
monochromatic
#04031C #04031C #0C084A #150E81 #1E14B8

Accessibility & contrast

On white

18.27
#0C084A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0C084A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C084A
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C084A#FFFFFF#000000##FFFFFF
##0C084A1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184C
Deuteranopia (green-blind)
#001249
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c084a;
/* rgb */ color: rgb(12, 8, 74);
/* oklch */ color: oklch(20.7% 0.114 273.0);
Tailwind
colors: {
  custom: {
    50: '#58497d',
    500: '#0c084a',
    950: '#000000',
  },
}
SCSS
$custom: #0c084a;
$custom-light: #58497d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c084a",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 74
  },
  "hsl": {
    "h": 243.636,
    "s": 80.488,
    "l": 16.078
  },
  "oklch": {
    "l": 0.20727,
    "c": 0.11373,
    "h": 273
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#0C084A
secondary
#828826
accent
#F731EB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0C084A

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

Preview Lab → · Contrast checker → · Palette generator →

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