#0C0441#0C0441

#0C0441 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.8% C 0.106 H 275.8°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#0C0441
RGBrgb(12, 4, 65)
HSLhsl(248, 88%, 14%)
HSVhsv(248, 94%, 25%)
CMYKcmyk(81.5%, 93.8%, 0%, 74.5%)
CIE-LABlab(4.94, 24.51, -35.74)
CIE-LCHlch(4.94, 43.33, 304.44°)
OKLaboklab(18.82% 0.0108 -0.1058)
OKLCHoklch(18.82% 0.106 275.8)
XYZxyz(1.1489, 0.5465, 5.0449)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0441 #394104
analogous
#041A41 #0C0441 #2A0441
triadic
#0C0441 #410C04 #04410C
tetradic
#0C0441 #41041A #394104 #04412A
square
#0C0441 #41041A #394104 #04412A
split-complementary
#0C0441 #412A04 #1A4104
monochromatic
#05021D #05021D #0C0441 #17087B #210BB4

Accessibility & contrast

On white

18.93
#0C0441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0C0441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0441
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0441#FFFFFF#000000##FFFFFF
##0C04411.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001343
Deuteranopia (green-blind)
#000E40
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0c0441;
/* rgb */ color: rgb(12, 4, 65);
/* oklch */ color: oklch(18.8% 0.106 275.8);
Tailwind
colors: {
  custom: {
    50: '#554776',
    500: '#0c0441',
    950: '#000000',
  },
}
SCSS
$custom: #0c0441;
$custom-light: #554776;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0441",
  "rgb": {
    "r": 12,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 247.869,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.18822,
    "c": 0.10632,
    "h": 275.8
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#0C0441
secondary
#75821F
accent
#FF29E3
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0C0441

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

Preview Lab → · Contrast checker → · Palette generator →

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