#0C1744#0C1744

#0C1744 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.086 H 268.2°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#0C1744
RGBrgb(12, 23, 68)
HSLhsl(228, 70%, 16%)
HSVhsv(228, 82%, 27%)
CMYKcmyk(82.4%, 66.2%, 0%, 73.3%)
CIE-LABlab(9.86, 13.97, -29.80)
CIE-LCHlch(9.86, 32.91, 295.12°)
OKLaboklab(22.83% -0.0026 -0.086)
OKLCHoklch(22.83% 0.086 268.2)
XYZxyz(1.5010, 1.1082, 5.6025)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1744 #44390C
analogous
#0C3344 #0C1744 #1D0C44
triadic
#0C1744 #440C17 #17440C
tetradic
#0C1744 #440C33 #44390C #0C441D
square
#0C1744 #440C33 #44390C #0C441D
split-complementary
#0C1744 #441D0C #33440C
monochromatic
#05091A #05091A #0C1744 #152978 #1E3AAC

Accessibility & contrast

On white

17.19
#0C1744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0C1744 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1744
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1744#FFFFFF#000000##FFFFFF
##0C17441.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#001943
Tritanopia (blue-blind)
#00222A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c1744;
/* rgb */ color: rgb(12, 23, 68);
/* oklch */ color: oklch(22.8% 0.086 268.2);
Tailwind
colors: {
  custom: {
    50: '#555378',
    500: '#0c1744',
    950: '#000000',
  },
}
SCSS
$custom: #0c1744;
$custom-light: #555378;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1744",
  "rgb": {
    "r": 12,
    "g": 23,
    "b": 68
  },
  "hsl": {
    "h": 228.214,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22827,
    "c": 0.08604,
    "h": 268.2
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#0C1744
secondary
#806F2C
accent
#CA3BED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0C1744

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

Preview Lab → · Contrast checker → · Palette generator →

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