#0C1D43#0C1D43

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

Color values

HEX#0C1D43
RGBrgb(12, 29, 67)
HSLhsl(221, 70%, 15%)
HSVhsv(221, 82%, 26%)
CMYKcmyk(82.1%, 56.7%, 0%, 73.7%)
CIE-LABlab(11.70, 8.84, -26.11)
CIE-LCHlch(11.70, 27.57, 288.69°)
OKLaboklab(24.19% -0.0084 -0.075)
OKLCHoklch(24.19% 0.076 263.6)
XYZxyz(1.6037, 1.3620, 5.4875)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1D43 #43320C
analogous
#0C3843 #0C1D43 #170C43
triadic
#0C1D43 #430C1D #1D430C
tetradic
#0C1D43 #430C38 #43320C #0C4317
square
#0C1D43 #430C38 #43320C #0C4317
split-complementary
#0C1D43 #43170C #38430C
monochromatic
#050B1A #050B1A #0C1D43 #153377 #1F4AAB

Accessibility & contrast

On white

16.50
#0C1D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1D43
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1D43#FFFFFF#000000##FFFFFF
##0C1D431.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072244
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0c1d43;
/* rgb */ color: rgb(12, 29, 67);
/* oklch */ color: oklch(24.2% 0.076 263.6);
Tailwind
colors: {
  custom: {
    50: '#545877',
    500: '#0c1d43',
    950: '#000000',
  },
}
SCSS
$custom: #0c1d43;
$custom-light: #545877;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1d43",
  "rgb": {
    "r": 12,
    "g": 29,
    "b": 67
  },
  "hsl": {
    "h": 221.455,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24187,
    "c": 0.07551,
    "h": 263.6
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#0C1D43
secondary
#7F652C
accent
#B63BEC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0C1D43

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

Preview Lab → · Contrast checker → · Palette generator →

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