#0C1B44#0C1B44

#0C1B44 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.080 H 265.5°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#0C1B44
RGBrgb(12, 27, 68)
HSLhsl(224, 70%, 16%)
HSVhsv(224, 82%, 27%)
CMYKcmyk(82.4%, 60.3%, 0%, 73.3%)
CIE-LABlab(11.13, 10.85, -27.74)
CIE-LCHlch(11.13, 29.79, 291.36°)
OKLaboklab(23.78% -0.0063 -0.0799)
OKLCHoklch(23.78% 0.08 265.5)
XYZxyz(1.5866, 1.2792, 5.6310)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1B44 #44350C
analogous
#0C3744 #0C1B44 #190C44
triadic
#0C1B44 #440C1B #1B440C
tetradic
#0C1B44 #440C37 #44350C #0C4419
square
#0C1B44 #440C37 #44350C #0C4419
split-complementary
#0C1B44 #44190C #37440C
monochromatic
#050A1A #050A1A #0C1B44 #153078 #1E44AC

Accessibility & contrast

On white

16.72
#0C1B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0C1B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1B44
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1B44#FFFFFF#000000##FFFFFF
##0C1B441.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012045
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#00252C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c1b44;
/* rgb */ color: rgb(12, 27, 68);
/* oklch */ color: oklch(23.8% 0.080 265.5);
Tailwind
colors: {
  custom: {
    50: '#545678',
    500: '#0c1b44',
    950: '#000000',
  },
}
SCSS
$custom: #0c1b44;
$custom-light: #545678;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1b44",
  "rgb": {
    "r": 12,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 223.929,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23779,
    "c": 0.08012,
    "h": 265.5
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#0C1B44
secondary
#80692C
accent
#BD3BED
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0C1B44

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

Preview Lab → · Contrast checker → · Palette generator →

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