#0C1749#0C1749

#0C1749 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.094 H 268.4°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#0C1749
RGBrgb(12, 23, 73)
HSLhsl(229, 72%, 17%)
HSVhsv(229, 84%, 29%)
CMYKcmyk(83.6%, 68.5%, 0%, 71.4%)
CIE-LABlab(10.35, 16.16, -32.50)
CIE-LCHlch(10.35, 36.30, 296.44°)
OKLaboklab(23.34% -0.0026 -0.0939)
OKLCHoklch(23.34% 0.094 268.4)
XYZxyz(1.6602, 1.1718, 6.4407)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1749 #493E0C
analogous
#0C3649 #0C1749 #200C49
triadic
#0C1749 #490C17 #17490C
tetradic
#0C1749 #490C36 #493E0C #0C4920
square
#0C1749 #490C36 #493E0C #0C4920
split-complementary
#0C1749 #49200C #36490C
monochromatic
#04081A #04081A #0C1749 #15287E #1D38B2

Accessibility & contrast

On white

17.01
#0C1749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0C1749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1749
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1749#FFFFFF#000000##FFFFFF
##0C17491.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#001948
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0c1749;
/* rgb */ color: rgb(12, 23, 73);
/* oklch */ color: oklch(23.3% 0.094 268.4);
Tailwind
colors: {
  custom: {
    50: '#56537c',
    500: '#0c1749',
    950: '#000000',
  },
}
SCSS
$custom: #0c1749;
$custom-light: #56537c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1749",
  "rgb": {
    "r": 12,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 229.18,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23339,
    "c": 0.09396,
    "h": 268.4
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#0C1749
secondary
#85752C
accent
#CE39EE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0C1749

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

Preview Lab → · Contrast checker → · Palette generator →

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