#0C093E#0C093E

#0C093E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.096 H 275.2°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#0C093E
RGBrgb(12, 9, 62)
HSLhsl(243, 75%, 14%)
HSVhsv(243, 85%, 24%)
CMYKcmyk(80.6%, 85.5%, 0%, 75.7%)
CIE-LABlab(5.61, 20.58, -32.48)
CIE-LCHlch(5.61, 38.45, 302.35°)
OKLaboklab(19.32% 0.0086 -0.0954)
OKLCHoklch(19.32% 0.096 275.2)
XYZxyz(1.1185, 0.6212, 4.6175)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C093E #3B3E09
analogous
#09213E #0C093E #27093E
triadic
#0C093E #3E0C09 #093E0C
tetradic
#0C093E #3E0921 #3B3E09 #093E27
square
#0C093E #3E0921 #3B3E09 #093E27
split-complementary
#0C093E #3E2709 #213E09
monochromatic
#05041B #05041B #0C093E #161173 #2119A9

Accessibility & contrast

On white

18.68
#0C093E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C093E
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C093E#FFFFFF#000000##FFFFFF
##0C093E1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001540
Deuteranopia (green-blind)
#00103D
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0c093e;
/* rgb */ color: rgb(12, 9, 62);
/* oklch */ color: oklch(19.3% 0.096 275.2);
Tailwind
colors: {
  custom: {
    50: '#544a74',
    500: '#0c093e',
    950: '#000000',
  },
}
SCSS
$custom: #0c093e;
$custom-light: #544a74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c093e",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 62
  },
  "hsl": {
    "h": 243.396,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19324,
    "c": 0.09575,
    "h": 275.2
  },
  "luminance": 0.00621
}

Semantic roles & 50–950 ramp

primary
#0C093E
secondary
#777C27
accent
#F137E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C093E

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

Preview Lab → · Contrast checker → · Palette generator →

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