#0C0941#0C0941

#0C0941 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.100 H 274.5°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#0C0941
RGBrgb(12, 9, 65)
HSLhsl(243, 76%, 15%)
HSVhsv(243, 86%, 25%)
CMYKcmyk(81.5%, 86.2%, 0%, 74.5%)
CIE-LABlab(5.92, 22.05, -34.13)
CIE-LCHlch(5.92, 40.64, 302.87°)
OKLaboklab(19.71% 0.0079 -0.0998)
OKLCHoklch(19.71% 0.1 274.5)
XYZxyz(1.2031, 0.6551, 5.0630)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0941 #3E4109
analogous
#092241 #0C0941 #280941
triadic
#0C0941 #410C09 #09410C
tetradic
#0C0941 #410922 #3E4109 #094128
square
#0C0941 #410922 #3E4109 #094128
split-complementary
#0C0941 #412809 #224109
monochromatic
#05041B #05041B #0C0941 #161077 #2018AD

Accessibility & contrast

On white

18.57
#0C0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0941
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0941#FFFFFF#000000##FFFFFF
##0C09411.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001040
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c0941;
/* rgb */ color: rgb(12, 9, 65);
/* oklch */ color: oklch(19.7% 0.100 274.5);
Tailwind
colors: {
  custom: {
    50: '#554a76',
    500: '#0c0941',
    950: '#000000',
  },
}
SCSS
$custom: #0c0941;
$custom-light: #554a76;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0941",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 243.214,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19705,
    "c": 0.10009,
    "h": 274.5
  },
  "luminance": 0.00655
}

Semantic roles & 50–950 ramp

primary
#0C0941
secondary
#7A7F27
accent
#F236E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C0941

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

Preview Lab → · Contrast checker → · Palette generator →

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