#0C1E44#0C1E44

#0C1E44 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.076 H 263.0°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#0C1E44
RGBrgb(12, 30, 68)
HSLhsl(221, 70%, 16%)
HSVhsv(221, 82%, 27%)
CMYKcmyk(82.4%, 55.9%, 0%, 73.3%)
CIE-LABlab(12.12, 8.51, -26.14)
CIE-LCHlch(12.12, 27.49, 288.03°)
OKLaboklab(24.53% -0.0093 -0.0751)
OKLCHoklch(24.53% 0.076 263)
XYZxyz(1.6589, 1.4239, 5.6551)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1E44 #44320C
analogous
#0C3A44 #0C1E44 #160C44
triadic
#0C1E44 #440C1E #1E440C
tetradic
#0C1E44 #440C3A #44320C #0C4416
square
#0C1E44 #440C3A #44320C #0C4416
split-complementary
#0C1E44 #44160C #3A440C
monochromatic
#050B1A #050B1A #0C1E44 #153578 #1E4CAC

Accessibility & contrast

On white

16.34
#0C1E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0C1E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1E44
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1E44#FFFFFF#000000##FFFFFF
##0C1E441.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082245
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#00272D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c1e44;
/* rgb */ color: rgb(12, 30, 68);
/* oklch */ color: oklch(24.5% 0.076 263.0);
Tailwind
colors: {
  custom: {
    50: '#545978',
    500: '#0c1e44',
    950: '#000000',
  },
}
SCSS
$custom: #0c1e44;
$custom-light: #545978;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1e44",
  "rgb": {
    "r": 12,
    "g": 30,
    "b": 68
  },
  "hsl": {
    "h": 220.714,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24529,
    "c": 0.07569,
    "h": 263
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#0C1E44
secondary
#80652C
accent
#B43BED
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0C1E44

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

Preview Lab → · Contrast checker → · Palette generator →

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