#0C1649#0C1649

#0C1649 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.095 H 268.9°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#0C1649
RGBrgb(12, 22, 73)
HSLhsl(230, 72%, 17%)
HSVhsv(230, 84%, 29%)
CMYKcmyk(83.6%, 69.9%, 0%, 71.4%)
CIE-LABlab(10.05, 16.93, -32.98)
CIE-LCHlch(10.05, 37.07, 297.17°)
OKLaboklab(23.12% -0.0019 -0.0953)
OKLCHoklch(23.12% 0.095 268.9)
XYZxyz(1.6407, 1.1328, 6.4342)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1649 #493F0C
analogous
#0C3549 #0C1649 #210C49
triadic
#0C1649 #490C16 #16490C
tetradic
#0C1649 #490C35 #493F0C #0C4921
square
#0C1649 #490C35 #493F0C #0C4921
split-complementary
#0C1649 #49210C #35490C
monochromatic
#04081A #04081A #0C1649 #15267E #1D36B2

Accessibility & contrast

On white

17.12
#0C1649 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1649
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1649#FFFFFF#000000##FFFFFF
##0C16491.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c1649;
/* rgb */ color: rgb(12, 22, 73);
/* oklch */ color: oklch(23.1% 0.095 268.9);
Tailwind
colors: {
  custom: {
    50: '#56527c',
    500: '#0c1649',
    950: '#000000',
  },
}
SCSS
$custom: #0c1649;
$custom-light: #56527c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1649",
  "rgb": {
    "r": 12,
    "g": 22,
    "b": 73
  },
  "hsl": {
    "h": 230.164,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23121,
    "c": 0.09537,
    "h": 268.9
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#0C1649
secondary
#85762C
accent
#D139EE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0C1649

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

Preview Lab → · Contrast checker → · Palette generator →

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