#0C063C#0C063C

#0C063C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.5% C 0.097 H 276.7°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#0C063C
RGBrgb(12, 6, 60)
HSLhsl(247, 82%, 13%)
HSVhsv(247, 90%, 24%)
CMYKcmyk(80%, 90%, 0%, 76.5%)
CIE-LABlab(4.83, 20.94, -32.32)
CIE-LCHlch(4.83, 38.51, 302.94°)
OKLaboklab(18.52% 0.0113 -0.0961)
OKLCHoklch(18.52% 0.097 276.7)
XYZxyz(1.0321, 0.5346, 4.3229)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C063C #363C06
analogous
#061B3C #0C063C #27063C
triadic
#0C063C #3C0C06 #063C0C
tetradic
#0C063C #3C061B #363C06 #063C27
square
#0C063C #3C061B #363C06 #063C27
split-complementary
#0C063C #3C2706 #1B3C06
monochromatic
#06031C #06031C #0C063C #170C74 #2211AB

Accessibility & contrast

On white

18.97
#0C063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0C063C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C063C
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C063C#FFFFFF#000000##FFFFFF
##0C063C1.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133E
Deuteranopia (green-blind)
#000E3B
Tritanopia (blue-blind)
#001621
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0c063c;
/* rgb */ color: rgb(12, 6, 60);
/* oklch */ color: oklch(18.5% 0.097 276.7);
Tailwind
colors: {
  custom: {
    50: '#534872',
    500: '#0c063c',
    950: '#000000',
  },
}
SCSS
$custom: #0c063c;
$custom-light: #534872;
$custom-dark: #000000;
JSON
{
  "hex": "#0c063c",
  "rgb": {
    "r": 12,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 246.667,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18517,
    "c": 0.09678,
    "h": 276.7
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#0C063C
secondary
#727C22
accent
#F830E2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0C063C

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

Preview Lab → · Contrast checker → · Palette generator →

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