#0C093F#0C093F

#0C093F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.5% C 0.097 H 274.9°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#0C093F
RGBrgb(12, 9, 63)
HSLhsl(243, 75%, 14%)
HSVhsv(243, 86%, 25%)
CMYKcmyk(81%, 85.7%, 0%, 75.3%)
CIE-LABlab(5.71, 21.08, -33.04)
CIE-LCHlch(5.71, 39.19, 302.53°)
OKLaboklab(19.45% 0.0084 -0.0968)
OKLCHoklch(19.45% 0.097 274.9)
XYZxyz(1.1462, 0.6323, 4.7633)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C093F #3C3F09
analogous
#09213F #0C093F #27093F
triadic
#0C093F #3F0C09 #093F0C
tetradic
#0C093F #3F0921 #3C3F09 #093F27
square
#0C093F #3F0921 #3C3F09 #093F27
split-complementary
#0C093F #3F2709 #213F09
monochromatic
#05041B #05041B #0C093F #161175 #2018AA

Accessibility & contrast

On white

18.64
#0C093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0C093F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C093F
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C093F#FFFFFF#000000##FFFFFF
##0C093F1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00103E
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c093f;
/* rgb */ color: rgb(12, 9, 63);
/* oklch */ color: oklch(19.5% 0.097 274.9);
Tailwind
colors: {
  custom: {
    50: '#544a75',
    500: '#0c093f',
    950: '#000000',
  },
}
SCSS
$custom: #0c093f;
$custom-light: #544a75;
$custom-dark: #000000;
JSON
{
  "hex": "#0c093f",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 243.333,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19451,
    "c": 0.0972,
    "h": 274.9
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#0C093F
secondary
#787D27
accent
#F236E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C093F

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

Preview Lab → · Contrast checker → · Palette generator →

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