#0C1D49#0C1D49

#0C1D49 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.085 H 264.8°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#0C1D49
RGBrgb(12, 29, 73)
HSLhsl(223, 72%, 17%)
HSVhsv(223, 84%, 29%)
CMYKcmyk(83.6%, 60.3%, 0%, 71.4%)
CIE-LABlab(12.21, 11.53, -29.47)
CIE-LCHlch(12.21, 31.65, 291.36°)
OKLaboklab(24.73% -0.0077 -0.0849)
OKLCHoklch(24.73% 0.085 264.8)
XYZxyz(1.7932, 1.4377, 6.4850)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1D49 #49380C
analogous
#0C3C49 #0C1D49 #1A0C49
triadic
#0C1D49 #490C1D #1D490C
tetradic
#0C1D49 #490C3C #49380C #0C491A
square
#0C1D49 #490C3C #49380C #0C491A
split-complementary
#0C1D49 #491A0C #3C490C
monochromatic
#040A1A #040A1A #0C1D49 #15327E #1D47B2

Accessibility & contrast

On white

16.31
#0C1D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0C1D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1D49
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1D49#FFFFFF#000000##FFFFFF
##0C1D491.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c1d49;
/* rgb */ color: rgb(12, 29, 73);
/* oklch */ color: oklch(24.7% 0.085 264.8);
Tailwind
colors: {
  custom: {
    50: '#56587c',
    500: '#0c1d49',
    950: '#000000',
  },
}
SCSS
$custom: #0c1d49;
$custom-light: #56587c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1d49",
  "rgb": {
    "r": 12,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 223.279,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2473,
    "c": 0.08528,
    "h": 264.8
  },
  "luminance": 0.01438
}

Semantic roles & 50–950 ramp

primary
#0C1D49
secondary
#856C2C
accent
#BC39EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0C1D49

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

Preview Lab → · Contrast checker → · Palette generator →

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