#0C063F#0C063F

#0C063F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.101 H 275.8°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#0C063F
RGBrgb(12, 6, 63)
HSLhsl(246, 83%, 14%)
HSVhsv(246, 90%, 25%)
CMYKcmyk(81%, 90.5%, 0%, 75.3%)
CIE-LABlab(5.12, 22.52, -34.00)
CIE-LCHlch(5.12, 40.78, 303.52°)
OKLaboklab(18.92% 0.0103 -0.1005)
OKLCHoklch(18.92% 0.101 275.8)
XYZxyz(1.1137, 0.5672, 4.7525)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C063F #393F06
analogous
#061C3F #0C063F #28063F
triadic
#0C063F #3F0C06 #063F0C
tetradic
#0C063F #3F061C #393F06 #063F28
square
#0C063F #3F061C #393F06 #063F28
split-complementary
#0C063F #3F2806 #1C3F06
monochromatic
#05031C #05031C #0C063F #170B77 #2111AF

Accessibility & contrast

On white

18.86
#0C063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C063F
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C063F#FFFFFF#000000##FFFFFF
##0C063F1.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#000F3E
Tritanopia (blue-blind)
#001722
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0c063f;
/* rgb */ color: rgb(12, 6, 63);
/* oklch */ color: oklch(18.9% 0.101 275.8);
Tailwind
colors: {
  custom: {
    50: '#544875',
    500: '#0c063f',
    950: '#000000',
  },
}
SCSS
$custom: #0c063f;
$custom-light: #544875;
$custom-dark: #000000;
JSON
{
  "hex": "#0c063f",
  "rgb": {
    "r": 12,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 246.316,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.18916,
    "c": 0.10098,
    "h": 275.8
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#0C063F
secondary
#757F22
accent
#F92FE4
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0C063F

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

Preview Lab → · Contrast checker → · Palette generator →

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