#0C093C#0C093C

#0C093C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.093 H 275.6°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#0C093C
RGBrgb(12, 9, 60)
HSLhsl(244, 74%, 14%)
HSVhsv(244, 85%, 24%)
CMYKcmyk(80%, 85%, 0%, 76.5%)
CIE-LABlab(5.42, 19.56, -31.36)
CIE-LCHlch(5.42, 36.96, 301.95°)
OKLaboklab(19.07% 0.0091 -0.0924)
OKLCHoklch(19.07% 0.093 275.6)
XYZxyz(1.0646, 0.5997, 4.3337)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C093C #393C09
analogous
#091F3C #0C093C #25093C
triadic
#0C093C #3C0C09 #093C0C
tetradic
#0C093C #3C091F #393C09 #093C25
square
#0C093C #3C091F #393C09 #093C25
split-complementary
#0C093C #3C2509 #1F3C09
monochromatic
#05041B #05041B #0C093C #171171 #2119A6

Accessibility & contrast

On white

18.75
#0C093C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C093C
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C093C#FFFFFF#000000##FFFFFF
##0C093C1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143D
Deuteranopia (green-blind)
#00103B
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0c093c;
/* rgb */ color: rgb(12, 9, 60);
/* oklch */ color: oklch(19.1% 0.093 275.6);
Tailwind
colors: {
  custom: {
    50: '#534a72',
    500: '#0c093c',
    950: '#000000',
  },
}
SCSS
$custom: #0c093c;
$custom-light: #534a72;
$custom-dark: #000000;
JSON
{
  "hex": "#0c093c",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 60
  },
  "hsl": {
    "h": 243.529,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19073,
    "c": 0.09281,
    "h": 275.6
  },
  "luminance": 0.006
}

Semantic roles & 50–950 ramp

primary
#0C093C
secondary
#757A27
accent
#F137E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C093C

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

Preview Lab → · Contrast checker → · Palette generator →

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