#0C1D41#0C1D41

#0C1D41 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.072 H 263.1°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#0C1D41
RGBrgb(12, 29, 65)
HSLhsl(221, 69%, 15%)
HSVhsv(221, 82%, 25%)
CMYKcmyk(81.5%, 55.4%, 0%, 74.5%)
CIE-LABlab(11.54, 7.94, -24.97)
CIE-LCHlch(11.54, 26.20, 287.64°)
OKLaboklab(24.01% -0.0087 -0.0717)
OKLCHoklch(24.01% 0.072 263.1)
XYZxyz(1.5448, 1.3384, 5.1769)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1D41 #41300C
analogous
#0C3741 #0C1D41 #160C41
triadic
#0C1D41 #410C1D #1D410C
tetradic
#0C1D41 #410C37 #41300C #0C4116
square
#0C1D41 #410C37 #41300C #0C4116
split-complementary
#0C1D41 #41160C #37410C
monochromatic
#050C1A #050C1A #0C1D41 #163475 #1F4BA8

Accessibility & contrast

On white

16.56
#0C1D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0C1D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1D41
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1D41#FFFFFF#000000##FFFFFF
##0C1D411.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092142
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0c1d41;
/* rgb */ color: rgb(12, 29, 65);
/* oklch */ color: oklch(24.0% 0.072 263.1);
Tailwind
colors: {
  custom: {
    50: '#535876',
    500: '#0c1d41',
    950: '#000000',
  },
}
SCSS
$custom: #0c1d41;
$custom-light: #535876;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1d41",
  "rgb": {
    "r": 12,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 220.755,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24013,
    "c": 0.07221,
    "h": 263.1
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#0C1D41
secondary
#7D632C
accent
#B33CEC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0C1D41

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

Preview Lab → · Contrast checker → · Palette generator →

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