#0C0943#0C0943

#0C0943 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.103 H 274.1°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#0C0943
RGBrgb(12, 9, 67)
HSLhsl(243, 76%, 15%)
HSVhsv(243, 87%, 26%)
CMYKcmyk(82.1%, 86.6%, 0%, 73.7%)
CIE-LABlab(6.13, 23.01, -35.20)
CIE-LCHlch(6.13, 42.06, 303.17°)
OKLaboklab(19.96% 0.0073 -0.1027)
OKLCHoklch(19.96% 0.103 274.1)
XYZxyz(1.2621, 0.6787, 5.3736)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0943 #404309
analogous
#092343 #0C0943 #290943
triadic
#0C0943 #430C09 #09430C
tetradic
#0C0943 #430923 #404309 #094329
square
#0C0943 #430923 #404309 #094329
split-complementary
#0C0943 #432909 #234309
monochromatic
#05041B #05041B #0C0943 #161079 #1F17AF

Accessibility & contrast

On white

18.49
#0C0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0C0943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0943
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0943#FFFFFF#000000##FFFFFF
##0C09431.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001645
Deuteranopia (green-blind)
#001142
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0c0943;
/* rgb */ color: rgb(12, 9, 67);
/* oklch */ color: oklch(20.0% 0.103 274.1);
Tailwind
colors: {
  custom: {
    50: '#564a78',
    500: '#0c0943',
    950: '#000000',
  },
}
SCSS
$custom: #0c0943;
$custom-light: #564a78;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0943",
  "rgb": {
    "r": 12,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 243.103,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.19962,
    "c": 0.10294,
    "h": 274.1
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#0C0943
secondary
#7C8127
accent
#F335E9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0C0943

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

Preview Lab → · Contrast checker → · Palette generator →

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