#0C1646#0C1646

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

Color values

HEX#0C1646
RGBrgb(12, 22, 70)
HSLhsl(230, 71%, 16%)
HSVhsv(230, 83%, 27%)
CMYKcmyk(82.9%, 68.6%, 0%, 72.5%)
CIE-LABlab(9.75, 15.62, -31.38)
CIE-LCHlch(9.75, 35.06, 296.47°)
OKLaboklab(22.81% -0.0018 -0.0907)
OKLCHoklch(22.81% 0.091 268.9)
XYZxyz(1.5436, 1.0940, 5.9230)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1646 #463C0C
analogous
#0C3346 #0C1646 #1F0C46
triadic
#0C1646 #460C16 #16460C
tetradic
#0C1646 #460C33 #463C0C #0C461F
square
#0C1646 #460C33 #463C0C #0C461F
split-complementary
#0C1646 #461F0C #33460C
monochromatic
#04081A #04081A #0C1646 #15267A #1E37AE

Accessibility & contrast

On white

17.23
#0C1646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1646
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1646#FFFFFF#000000##FFFFFF
##0C16461.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#001845
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c1646;
/* rgb */ color: rgb(12, 22, 70);
/* oklch */ color: oklch(22.8% 0.091 268.9);
Tailwind
colors: {
  custom: {
    50: '#55527a',
    500: '#0c1646',
    950: '#000000',
  },
}
SCSS
$custom: #0c1646;
$custom-light: #55527a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1646",
  "rgb": {
    "r": 12,
    "g": 22,
    "b": 70
  },
  "hsl": {
    "h": 229.655,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22805,
    "c": 0.09068,
    "h": 268.9
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#0C1646
secondary
#82732C
accent
#CF3AED
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0C1646

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

Preview Lab → · Contrast checker → · Palette generator →

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