#0C1448#0C1448

#0C1448 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.097 H 269.8°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#0C1448
RGBrgb(12, 20, 72)
HSLhsl(232, 71%, 16%)
HSVhsv(232, 83%, 28%)
CMYKcmyk(83.3%, 72.2%, 0%, 71.8%)
CIE-LABlab(9.37, 18.01, -33.40)
CIE-LCHlch(9.37, 37.95, 298.33°)
OKLaboklab(22.59% -0.0003 -0.0966)
OKLCHoklch(22.59% 0.097 269.8)
XYZxyz(1.5711, 1.0462, 6.2488)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1448 #48400C
analogous
#0C3248 #0C1448 #220C48
triadic
#0C1448 #480C14 #14480C
tetradic
#0C1448 #480C32 #48400C #0C4822
square
#0C1448 #480C32 #48400C #0C4822
split-complementary
#0C1448 #48220C #32480C
monochromatic
#04071A #04071A #0C1448 #15237C #1D31B1

Accessibility & contrast

On white

17.37
#0C1448 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0C1448 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1448
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1448#FFFFFF#000000##FFFFFF
##0C14481.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001747
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0c1448;
/* rgb */ color: rgb(12, 20, 72);
/* oklch */ color: oklch(22.6% 0.097 269.8);
Tailwind
colors: {
  custom: {
    50: '#56517c',
    500: '#0c1448',
    950: '#000000',
  },
}
SCSS
$custom: #0c1448;
$custom-light: #56517c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1448",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 72
  },
  "hsl": {
    "h": 232,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22588,
    "c": 0.0966,
    "h": 269.8
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#0C1448
secondary
#84782C
accent
#D63AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0C1448

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

Preview Lab → · Contrast checker → · Palette generator →

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