#0C0D43#0C0D43

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

Color values

HEX#0C0D43
RGBrgb(12, 13, 67)
HSLhsl(239, 70%, 15%)
HSVhsv(239, 82%, 26%)
CMYKcmyk(82.1%, 80.6%, 0%, 73.7%)
CIE-LABlab(6.97, 20.84, -33.84)
CIE-LCHlch(6.97, 39.74, 301.63°)
OKLaboklab(20.64% 0.005 -0.0981)
OKLCHoklch(20.64% 0.098 272.9)
XYZxyz(1.3083, 0.7711, 5.3890)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0D43 #43420C
analogous
#0C2843 #0C0D43 #260C43
triadic
#0C0D43 #430C0D #0D430C
tetradic
#0C0D43 #430C28 #43420C #0C4326
square
#0C0D43 #430C28 #43420C #0C4326
split-complementary
#0C0D43 #43260C #28430C
monochromatic
#05051A #05051A #0C0D43 #151777 #1F21AB

Accessibility & contrast

On white

18.19
#0C0D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0D43
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0D43#FFFFFF#000000##FFFFFF
##0C0D431.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c0d43;
/* rgb */ color: rgb(12, 13, 67);
/* oklch */ color: oklch(20.6% 0.098 272.9);
Tailwind
colors: {
  custom: {
    50: '#554c78',
    500: '#0c0d43',
    950: '#000000',
  },
}
SCSS
$custom: #0c0d43;
$custom-light: #554c78;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0d43",
  "rgb": {
    "r": 12,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 238.909,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2064,
    "c": 0.09825,
    "h": 272.9
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#0C0D43
secondary
#7F7E2C
accent
#E93BEC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0C0D43

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

Preview Lab → · Contrast checker → · Palette generator →

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