#0C1A44#0C1A44

#0C1A44 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.082 H 266.2°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#0C1A44
RGBrgb(12, 26, 68)
HSLhsl(225, 70%, 16%)
HSVhsv(225, 82%, 27%)
CMYKcmyk(82.4%, 61.8%, 0%, 73.3%)
CIE-LABlab(10.81, 11.63, -28.26)
CIE-LCHlch(10.81, 30.56, 292.37°)
OKLaboklab(23.54% -0.0054 -0.0814)
OKLCHoklch(23.54% 0.082 266.2)
XYZxyz(1.5640, 1.2341, 5.6235)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1A44 #44360C
analogous
#0C3644 #0C1A44 #1A0C44
triadic
#0C1A44 #440C1A #1A440C
tetradic
#0C1A44 #440C36 #44360C #0C441A
square
#0C1A44 #440C36 #44360C #0C441A
split-complementary
#0C1A44 #441A0C #36440C
monochromatic
#050A1A #050A1A #0C1A44 #152E78 #1E42AC

Accessibility & contrast

On white

16.84
#0C1A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0C1A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1A44
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1A44#FFFFFF#000000##FFFFFF
##0C1A441.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002045
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0c1a44;
/* rgb */ color: rgb(12, 26, 68);
/* oklch */ color: oklch(23.5% 0.082 266.2);
Tailwind
colors: {
  custom: {
    50: '#545678',
    500: '#0c1a44',
    950: '#000000',
  },
}
SCSS
$custom: #0c1a44;
$custom-light: #545678;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1a44",
  "rgb": {
    "r": 12,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 225,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23536,
    "c": 0.08161,
    "h": 266.2
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#0C1A44
secondary
#806B2C
accent
#C03BED
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0C1A44

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

Preview Lab → · Contrast checker → · Palette generator →

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