#0C084B#0C084B

#0C084B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.115 H 272.8°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#0C084B
RGBrgb(12, 8, 75)
HSLhsl(244, 81%, 16%)
HSVhsv(244, 89%, 29%)
CMYKcmyk(84%, 89.3%, 0%, 70.6%)
CIE-LABlab(6.86, 27.09, -39.63)
CIE-LCHlch(6.86, 48.01, 304.36°)
OKLaboklab(20.86% 0.0056 -0.1149)
OKLCHoklch(20.86% 0.115 272.8)
XYZxyz(1.5080, 0.7597, 6.7224)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C084B #474B08
analogous
#08264B #0C084B #2E084B
triadic
#0C084B #4B0C08 #084B0C
tetradic
#0C084B #4B0826 #474B08 #084B2E
square
#0C084B #4B0826 #474B08 #084B2E
split-complementary
#0C084B #4B2E08 #264B08
monochromatic
#04031C #04031C #0C084B #150E82 #1E14BA

Accessibility & contrast

On white

18.23
#0C084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C084B
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C084B#FFFFFF#000000##FFFFFF
##0C084B1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184D
Deuteranopia (green-blind)
#00124A
Tritanopia (blue-blind)
#001D2A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c084b;
/* rgb */ color: rgb(12, 8, 75);
/* oklch */ color: oklch(20.9% 0.115 272.8);
Tailwind
colors: {
  custom: {
    50: '#58497e',
    500: '#0c084b',
    950: '#000000',
  },
}
SCSS
$custom: #0c084b;
$custom-light: #58497e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c084b",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 243.582,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.20861,
    "c": 0.11509,
    "h": 272.8
  },
  "luminance": 0.0076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0C084B

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

Preview Lab → · Contrast checker → · Palette generator →

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