#0C0347#0C0347

#0C0347 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.5% C 0.115 H 274.5°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#0C0347
RGBrgb(12, 3, 71)
HSLhsl(248, 92%, 15%)
HSVhsv(248, 96%, 28%)
CMYKcmyk(83.1%, 95.8%, 0%, 72.2%)
CIE-LABlab(5.40, 27.97, -39.23)
CIE-LCHlch(5.40, 48.18, 305.48°)
OKLaboklab(19.5% 0.0091 -0.1151)
OKLCHoklch(19.5% 0.115 274.5)
XYZxyz(1.3211, 0.5981, 6.0058)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0347 #3E4703
analogous
#031C47 #0C0347 #2E0347
triadic
#0C0347 #470C03 #03470C
tetradic
#0C0347 #47031C #3E4703 #03472E
square
#0C0347 #47031C #3E4703 #03472E
split-complementary
#0C0347 #472E03 #1C4703
monochromatic
#05011D #05011D #0C0347 #160582 #2008BC

Accessibility & contrast

On white

18.76
#0C0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0347
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0347#FFFFFF#000000##FFFFFF
##0C03471.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c0347;
/* rgb */ color: rgb(12, 3, 71);
/* oklch */ color: oklch(19.5% 0.115 274.5);
Tailwind
colors: {
  custom: {
    50: '#57467b',
    500: '#0c0347',
    950: '#000000',
  },
}
SCSS
$custom: #0c0347;
$custom-light: #57467b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0347",
  "rgb": {
    "r": 12,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 247.941,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19498,
    "c": 0.11543,
    "h": 274.5
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#0C0347
secondary
#7A881E
accent
#FF29E3
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0C0347

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

Preview Lab → · Contrast checker → · Palette generator →

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