#0C0639#0C0639

#0C0639 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.093 H 277.6°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#0C0639
RGBrgb(12, 6, 57)
HSLhsl(247, 81%, 12%)
HSVhsv(247, 89%, 22%)
CMYKcmyk(78.9%, 89.5%, 0%, 77.6%)
CIE-LABlab(4.55, 19.32, -30.59)
CIE-LCHlch(4.55, 36.18, 302.27°)
OKLaboklab(18.12% 0.0122 -0.0917)
OKLCHoklch(18.12% 0.093 277.6)
XYZxyz(0.9550, 0.5037, 3.9170)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0639 #333906
analogous
#061939 #0C0639 #260639
triadic
#0C0639 #390C06 #06390C
tetradic
#0C0639 #390619 #333906 #063926
square
#0C0639 #390619 #333906 #063926
split-complementary
#0C0639 #392606 #193906
monochromatic
#06031C #06031C #0C0639 #180C70 #2312A8

Accessibility & contrast

On white

19.08
#0C0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0C0639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0639
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0639#FFFFFF#000000##FFFFFF
##0C06391.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#000D38
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0c0639;
/* rgb */ color: rgb(12, 6, 57);
/* oklch */ color: oklch(18.1% 0.093 277.6);
Tailwind
colors: {
  custom: {
    50: '#524870',
    500: '#0c0639',
    950: '#000000',
  },
}
SCSS
$custom: #0c0639;
$custom-light: #524870;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0639",
  "rgb": {
    "r": 12,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 247.059,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18122,
    "c": 0.09251,
    "h": 277.6
  },
  "luminance": 0.00504
}

Semantic roles & 50–950 ramp

primary
#0C0639
secondary
#6F7922
accent
#F730E0
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0C0639

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

Preview Lab → · Contrast checker → · Palette generator →

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