#0C093D#0C093D

#0C093D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.094 H 275.4°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#0C093D
RGBrgb(12, 9, 61)
HSLhsl(243, 74%, 14%)
HSVhsv(243, 85%, 24%)
CMYKcmyk(80.3%, 85.2%, 0%, 76.1%)
CIE-LABlab(5.51, 20.07, -31.92)
CIE-LCHlch(5.51, 37.71, 302.15°)
OKLaboklab(19.2% 0.0089 -0.0939)
OKLCHoklch(19.2% 0.094 275.4)
XYZxyz(1.0913, 0.6104, 4.4743)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C093D #3A3D09
analogous
#09203D #0C093D #26093D
triadic
#0C093D #3D0C09 #093D0C
tetradic
#0C093D #3D0920 #3A3D09 #093D26
square
#0C093D #3D0920 #3A3D09 #093D26
split-complementary
#0C093D #3D2609 #203D09
monochromatic
#05041B #05041B #0C093D #161172 #2119A8

Accessibility & contrast

On white

18.72
#0C093D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C093D
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C093D#FFFFFF#000000##FFFFFF
##0C093D1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c093d;
/* rgb */ color: rgb(12, 9, 61);
/* oklch */ color: oklch(19.2% 0.094 275.4);
Tailwind
colors: {
  custom: {
    50: '#534a73',
    500: '#0c093d',
    950: '#000000',
  },
}
SCSS
$custom: #0c093d;
$custom-light: #534a73;
$custom-dark: #000000;
JSON
{
  "hex": "#0c093d",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 61
  },
  "hsl": {
    "h": 243.462,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19198,
    "c": 0.09428,
    "h": 275.4
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#0C093D
secondary
#767B27
accent
#F137E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C093D

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

Preview Lab → · Contrast checker → · Palette generator →

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