#0C1441#0C1441

#0C1441 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.086 H 270.0°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#0C1441
RGBrgb(12, 20, 65)
HSLhsl(231, 69%, 15%)
HSVhsv(231, 82%, 25%)
CMYKcmyk(81.5%, 69.2%, 0%, 74.5%)
CIE-LABlab(8.65, 14.99, -29.65)
CIE-LCHlch(8.65, 33.23, 296.82°)
OKLaboklab(21.84% 0 -0.0856)
OKLCHoklch(21.84% 0.086 270)
XYZxyz(1.3556, 0.9600, 5.1139)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1441 #41390C
analogous
#0C2F41 #0C1441 #1E0C41
triadic
#0C1441 #410C14 #14410C
tetradic
#0C1441 #410C2F #41390C #0C411E
square
#0C1441 #410C2F #41390C #0C411E
split-complementary
#0C1441 #411E0C #2F410C
monochromatic
#05081A #05081A #0C1441 #162475 #1F34A8

Accessibility & contrast

On white

17.62
#0C1441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0C1441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1441
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1441#FFFFFF#000000##FFFFFF
##0C14411.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#001F28
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0c1441;
/* rgb */ color: rgb(12, 20, 65);
/* oklch */ color: oklch(21.8% 0.086 270.0);
Tailwind
colors: {
  custom: {
    50: '#545176',
    500: '#0c1441',
    950: '#000000',
  },
}
SCSS
$custom: #0c1441;
$custom-light: #545176;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1441",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 65
  },
  "hsl": {
    "h": 230.943,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21839,
    "c": 0.08561,
    "h": 270
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#0C1441
secondary
#7D712C
accent
#D13CEC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0C1441

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

Preview Lab → · Contrast checker → · Palette generator →

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