#0C1648#0C1648

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

Color values

HEX#0C1648
RGBrgb(12, 22, 72)
HSLhsl(230, 71%, 16%)
HSVhsv(230, 83%, 28%)
CMYKcmyk(83.3%, 69.4%, 0%, 71.8%)
CIE-LABlab(9.95, 16.49, -32.45)
CIE-LCHlch(9.95, 36.40, 296.94°)
OKLaboklab(23.02% -0.0018 -0.0938)
OKLCHoklch(23.02% 0.094 268.9)
XYZxyz(1.6078, 1.1197, 6.2610)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1648 #483E0C
analogous
#0C3448 #0C1648 #200C48
triadic
#0C1648 #480C16 #16480C
tetradic
#0C1648 #480C34 #483E0C #0C4820
square
#0C1648 #480C34 #483E0C #0C4820
split-complementary
#0C1648 #48200C #34480C
monochromatic
#04081A #04081A #0C1648 #15267C #1D36B1

Accessibility & contrast

On white

17.16
#0C1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1648
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1648#FFFFFF#000000##FFFFFF
##0C16481.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001947
Tritanopia (blue-blind)
#00232C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0c1648;
/* rgb */ color: rgb(12, 22, 72);
/* oklch */ color: oklch(23.0% 0.094 268.9);
Tailwind
colors: {
  custom: {
    50: '#56527b',
    500: '#0c1648',
    950: '#000000',
  },
}
SCSS
$custom: #0c1648;
$custom-light: #56527b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1648",
  "rgb": {
    "r": 12,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 230,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23015,
    "c": 0.09381,
    "h": 268.9
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#0C1648
secondary
#84752C
accent
#D03AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0C1648

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

Preview Lab → · Contrast checker → · Palette generator →

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