#0C094A#0C094A

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

Color values

HEX#0C094A
RGBrgb(12, 9, 74)
HSLhsl(243, 78%, 16%)
HSVhsv(243, 88%, 29%)
CMYKcmyk(83.8%, 87.8%, 0%, 71%)
CIE-LABlab(6.94, 26.13, -38.81)
CIE-LCHlch(6.94, 46.79, 303.96°)
OKLaboklab(20.88% 0.0055 -0.1126)
OKLCHoklch(20.88% 0.113 272.8)
XYZxyz(1.4849, 0.7678, 6.5472)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C094A #474A09
analogous
#09274A #0C094A #2D094A
triadic
#0C094A #4A0C09 #094A0C
tetradic
#0C094A #4A0927 #474A09 #094A2D
square
#0C094A #4A0927 #474A09 #094A2D
split-complementary
#0C094A #4A2D09 #274A09
monochromatic
#04031B #04031B #0C094A #151081 #1E16B7

Accessibility & contrast

On white

18.20
#0C094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C094A
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C094A#FFFFFF#000000##FFFFFF
##0C094A1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c094a;
/* rgb */ color: rgb(12, 9, 74);
/* oklch */ color: oklch(20.9% 0.113 272.8);
Tailwind
colors: {
  custom: {
    50: '#584a7d',
    500: '#0c094a',
    950: '#000000',
  },
}
SCSS
$custom: #0c094a;
$custom-light: #584a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c094a",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 242.769,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.20878,
    "c": 0.11269,
    "h": 272.8
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#0C094A
secondary
#838727
accent
#F533EC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0C094A

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

Preview Lab → · Contrast checker → · Palette generator →

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