#0C0B44#0C0B44

#0C0B44 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.4% C 0.102 H 273.4°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#0C0B44
RGBrgb(12, 11, 68)
HSLhsl(241, 72%, 15%)
HSVhsv(241, 84%, 27%)
CMYKcmyk(82.4%, 83.8%, 0%, 73.3%)
CIE-LABlab(6.64, 22.44, -35.08)
CIE-LCHlch(6.64, 41.65, 302.60°)
OKLaboklab(20.42% 0.006 -0.1019)
OKLCHoklch(20.42% 0.102 273.4)
XYZxyz(1.3143, 0.7347, 5.5403)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0B44 #43440B
analogous
#0B2644 #0C0B44 #280B44
triadic
#0C0B44 #440C0B #0B440C
tetradic
#0C0B44 #440B26 #43440B #0B4428
square
#0C0B44 #440B26 #43440B #0B4428
split-complementary
#0C0B44 #44280B #26440B
monochromatic
#05041A #05041A #0C0B44 #151479 #1F1CAD

Accessibility & contrast

On white

18.31
#0C0B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0C0B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0B44
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0B44#FFFFFF#000000##FFFFFF
##0C0B441.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001746
Deuteranopia (green-blind)
#001243
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c0b44;
/* rgb */ color: rgb(12, 11, 68);
/* oklch */ color: oklch(20.4% 0.102 273.4);
Tailwind
colors: {
  custom: {
    50: '#564b79',
    500: '#0c0b44',
    950: '#000000',
  },
}
SCSS
$custom: #0c0b44;
$custom-light: #564b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0b44",
  "rgb": {
    "r": 12,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 241.053,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20416,
    "c": 0.10211,
    "h": 273.4
  },
  "luminance": 0.00735
}

Semantic roles & 50–950 ramp

primary
#0C0B44
secondary
#7F812A
accent
#EF39EC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0C0B44

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

Preview Lab → · Contrast checker → · Palette generator →

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