#0C0447#0C0447

#0C0447 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.7% C 0.114 H 274.3°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#0C0447
RGBrgb(12, 4, 71)
HSLhsl(247, 89%, 15%)
HSVhsv(247, 94%, 28%)
CMYKcmyk(83.1%, 94.4%, 0%, 72.2%)
CIE-LABlab(5.60, 27.45, -38.91)
CIE-LCHlch(5.60, 47.62, 305.20°)
OKLaboklab(19.67% 0.0086 -0.1139)
OKLCHoklch(19.67% 0.114 274.3)
XYZxyz(1.3320, 0.6198, 6.0094)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0447 #3F4704
analogous
#041E47 #0C0447 #2E0447
triadic
#0C0447 #470C04 #04470C
tetradic
#0C0447 #47041E #3F4704 #04472E
square
#0C0447 #47041E #3F4704 #04472E
split-complementary
#0C0447 #472E04 #1E4704
monochromatic
#05021D #05021D #0C0447 #160781 #200BBB

Accessibility & contrast

On white

18.68
#0C0447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0C0447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0447
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0447#FFFFFF#000000##FFFFFF
##0C04471.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001549
Deuteranopia (green-blind)
#000F46
Tritanopia (blue-blind)
#001A27
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0c0447;
/* rgb */ color: rgb(12, 4, 71);
/* oklch */ color: oklch(19.7% 0.114 274.3);
Tailwind
colors: {
  custom: {
    50: '#57477b',
    500: '#0c0447',
    950: '#000000',
  },
}
SCSS
$custom: #0c0447;
$custom-light: #57477b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0447",
  "rgb": {
    "r": 12,
    "g": 4,
    "b": 71
  },
  "hsl": {
    "h": 247.164,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19669,
    "c": 0.11423,
    "h": 274.3
  },
  "luminance": 0.0062
}

Semantic roles & 50–950 ramp

primary
#0C0447
secondary
#7B881F
accent
#FF29E5
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0C0447

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

Preview Lab → · Contrast checker → · Palette generator →

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