#0C1446#0C1446

#0C1446 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.094 H 269.9°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#0C1446
RGBrgb(12, 20, 70)
HSLhsl(232, 71%, 16%)
HSVhsv(232, 83%, 27%)
CMYKcmyk(82.9%, 71.4%, 0%, 72.5%)
CIE-LABlab(9.16, 17.16, -32.35)
CIE-LCHlch(9.16, 36.61, 297.94°)
OKLaboklab(22.37% -0.0002 -0.0935)
OKLCHoklch(22.37% 0.094 269.9)
XYZxyz(1.5069, 1.0205, 5.9107)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1446 #463E0C
analogous
#0C3146 #0C1446 #210C46
triadic
#0C1446 #460C14 #14460C
tetradic
#0C1446 #460C31 #463E0C #0C4621
square
#0C1446 #460C31 #463E0C #0C4621
split-complementary
#0C1446 #46210C #31460C
monochromatic
#04071A #04071A #0C1446 #15237A #1E32AE

Accessibility & contrast

On white

17.44
#0C1446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0C1446 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1446
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1446#FFFFFF#000000##FFFFFF
##0C14461.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001745
Tritanopia (blue-blind)
#00212A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0c1446;
/* rgb */ color: rgb(12, 20, 70);
/* oklch */ color: oklch(22.4% 0.094 269.9);
Tailwind
colors: {
  custom: {
    50: '#56517a',
    500: '#0c1446',
    950: '#000000',
  },
}
SCSS
$custom: #0c1446;
$custom-light: #56517a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1446",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 70
  },
  "hsl": {
    "h": 231.724,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2237,
    "c": 0.09351,
    "h": 269.9
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#0C1446
secondary
#82762C
accent
#D53AED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0C1446

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

Preview Lab → · Contrast checker → · Palette generator →

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