#0C0937#0C0937

#0C0937 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.5% C 0.085 H 276.9°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#0C0937
RGBrgb(12, 9, 55)
HSLhsl(244, 72%, 13%)
HSVhsv(244, 84%, 22%)
CMYKcmyk(78.2%, 83.6%, 0%, 78.4%)
CIE-LABlab(4.96, 16.92, -28.46)
CIE-LCHlch(4.96, 33.12, 300.73°)
OKLaboklab(18.46% 0.0103 -0.0847)
OKLCHoklch(18.46% 0.085 276.9)
XYZxyz(0.9387, 0.5493, 3.6702)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0937 #343709
analogous
#091D37 #0C0937 #230937
triadic
#0C0937 #370C09 #09370C
tetradic
#0C0937 #37091D #343709 #093723
square
#0C0937 #37091D #343709 #093723
split-complementary
#0C0937 #372309 #1D3709
monochromatic
#06041A #06041A #0C0937 #17126C #231AA0

Accessibility & contrast

On white

18.92
#0C0937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0C0937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0937
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0937#FFFFFF#000000##FFFFFF
##0C09371.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#000F36
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0c0937;
/* rgb */ color: rgb(12, 9, 55);
/* oklch */ color: oklch(18.5% 0.085 276.9);
Tailwind
colors: {
  custom: {
    50: '#514a6e',
    500: '#0c0937',
    950: '#000000',
  },
}
SCSS
$custom: #0c0937;
$custom-light: #514a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0937",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 243.913,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18459,
    "c": 0.0853,
    "h": 276.9
  },
  "luminance": 0.00549
}

Semantic roles & 50–950 ramp

primary
#0C0937
secondary
#707527
accent
#EF39E3
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0C0937

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

Preview Lab → · Contrast checker → · Palette generator →

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