#0C0935#0C0935

#0C0935 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.082 H 277.5°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#0C0935
RGBrgb(12, 9, 53)
HSLhsl(244, 71%, 12%)
HSVhsv(244, 83%, 21%)
CMYKcmyk(77.4%, 83%, 0%, 79.2%)
CIE-LABlab(4.79, 15.83, -27.27)
CIE-LCHlch(4.79, 31.54, 300.14°)
OKLaboklab(18.22% 0.0107 -0.0815)
OKLCHoklch(18.22% 0.082 277.5)
XYZxyz(0.8917, 0.5305, 3.4229)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0935 #323509
analogous
#091C35 #0C0935 #220935
triadic
#0C0935 #350C09 #09350C
tetradic
#0C0935 #35091C #323509 #093522
square
#0C0935 #35091C #323509 #093522
split-complementary
#0C0935 #352209 #1C3509
monochromatic
#06041A #06041A #0C0935 #181269 #241B9E

Accessibility & contrast

On white

18.98
#0C0935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0935
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0935#FFFFFF#000000##FFFFFF
##0C09351.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#000E34
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0c0935;
/* rgb */ color: rgb(12, 9, 53);
/* oklch */ color: oklch(18.2% 0.082 277.5);
Tailwind
colors: {
  custom: {
    50: '#504a6d',
    500: '#0c0935',
    950: '#000000',
  },
}
SCSS
$custom: #0c0935;
$custom-light: #504a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0935",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 244.091,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18218,
    "c": 0.08223,
    "h": 277.5
  },
  "luminance": 0.00531
}

Semantic roles & 50–950 ramp

primary
#0C0935
secondary
#6E7327
accent
#EE3AE1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0C0935

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

Preview Lab → · Contrast checker → · Palette generator →

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