#0C0C44#0C0C44

#0C0C44 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.101 H 273.1°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#0C0C44
RGBrgb(12, 12, 68)
HSLhsl(240, 70%, 16%)
HSVhsv(240, 82%, 27%)
CMYKcmyk(82.4%, 82.4%, 0%, 73.3%)
CIE-LABlab(6.85, 21.88, -34.73)
CIE-LCHlch(6.85, 41.05, 302.21°)
OKLaboklab(20.59% 0.0054 -0.1008)
OKLCHoklch(20.59% 0.101 273.1)
XYZxyz(1.3261, 0.7583, 5.5442)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0C44 #44440C
analogous
#0C2844 #0C0C44 #280C44
triadic
#0C0C44 #440C0C #0C440C
tetradic
#0C0C44 #440C28 #44440C #0C4428
square
#0C0C44 #440C28 #44440C #0C4428
split-complementary
#0C0C44 #44280C #28440C
monochromatic
#05051A #05051A #0C0C44 #151578 #1E1EAC

Accessibility & contrast

On white

18.24
#0C0C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0C44
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0C44#FFFFFF#000000##FFFFFF
##0C0C441.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c0c44;
/* rgb */ color: rgb(12, 12, 68);
/* oklch */ color: oklch(20.6% 0.101 273.1);
Tailwind
colors: {
  custom: {
    50: '#564b79',
    500: '#0c0c44',
    950: '#000000',
  },
}
SCSS
$custom: #0c0c44;
$custom-light: #564b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0c44",
  "rgb": {
    "r": 12,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 240,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20585,
    "c": 0.10094,
    "h": 273.1
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#0C0C44
secondary
#80802C
accent
#ED3BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0C0C44

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

Preview Lab → · Contrast checker → · Palette generator →

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