#0C093A#0C093A

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

Color values

HEX#0C093A
RGBrgb(12, 9, 58)
HSLhsl(244, 73%, 13%)
HSVhsv(244, 84%, 23%)
CMYKcmyk(79.3%, 84.5%, 0%, 77.3%)
CIE-LABlab(5.23, 18.52, -30.22)
CIE-LCHlch(5.23, 35.44, 301.51°)
OKLaboklab(18.83% 0.0096 -0.0893)
OKLCHoklch(18.83% 0.09 276.1)
XYZxyz(1.0128, 0.5789, 4.0605)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C093A #373A09
analogous
#091E3A #0C093A #24093A
triadic
#0C093A #3A0C09 #093A0C
tetradic
#0C093A #3A091E #373A09 #093A24
square
#0C093A #3A091E #373A09 #093A24
split-complementary
#0C093A #3A2409 #1E3A09
monochromatic
#05041A #05041A #0C093A #17116F #2219A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C093A#FFFFFF#000000##FFFFFF
##0C093A1.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)
#00143B
Deuteranopia (green-blind)
#000F39
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0c093a;
/* rgb */ color: rgb(12, 9, 58);
/* oklch */ color: oklch(18.8% 0.090 276.1);
Tailwind
colors: {
  custom: {
    50: '#524a71',
    500: '#0c093a',
    950: '#000000',
  },
}
SCSS
$custom: #0c093a;
$custom-light: #524a71;
$custom-dark: #000000;
JSON
{
  "hex": "#0c093a",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 58
  },
  "hsl": {
    "h": 243.673,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18825,
    "c": 0.08983,
    "h": 276.1
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#0C093A
secondary
#737827
accent
#F038E5
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0C093A

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

Preview Lab → · Contrast checker → · Palette generator →

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