#0C0D49#0C0D49

#0C0D49 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.4% C 0.107 H 272.1°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#0C0D49
RGBrgb(12, 13, 73)
HSLhsl(239, 72%, 17%)
HSVhsv(239, 84%, 29%)
CMYKcmyk(83.6%, 82.2%, 0%, 71.4%)
CIE-LABlab(7.65, 23.41, -36.93)
CIE-LCHlch(7.65, 43.73, 302.37°)
OKLaboklab(21.38% 0.0039 -0.1069)
OKLCHoklch(21.38% 0.107 272.1)
XYZxyz(1.4977, 0.8469, 6.3866)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0D49 #49480C
analogous
#0C2C49 #0C0D49 #2A0C49
triadic
#0C0D49 #490C0D #0D490C
tetradic
#0C0D49 #490C2C #49480C #0C492A
square
#0C0D49 #490C2C #49480C #0C492A
split-complementary
#0C0D49 #492A0C #2C490C
monochromatic
#04051A #04051A #0C0D49 #15167E #1D20B2

Accessibility & contrast

On white

17.96
#0C0D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0C0D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0D49
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0D49#FFFFFF#000000##FFFFFF
##0C0D491.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4B
Deuteranopia (green-blind)
#001448
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0c0d49;
/* rgb */ color: rgb(12, 13, 73);
/* oklch */ color: oklch(21.4% 0.107 272.1);
Tailwind
colors: {
  custom: {
    50: '#574c7d',
    500: '#0c0d49',
    950: '#000000',
  },
}
SCSS
$custom: #0c0d49;
$custom-light: #574c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0d49",
  "rgb": {
    "r": 12,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 239.016,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21376,
    "c": 0.107,
    "h": 272.1
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#0C0D49
secondary
#85832C
accent
#EC39EE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0C0D49

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

Preview Lab → · Contrast checker → · Palette generator →

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