#0C0633#0C0633

#0C0633 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.4% C 0.084 H 279.7°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#0C0633
RGBrgb(12, 6, 51)
HSLhsl(248, 79%, 11%)
HSVhsv(248, 88%, 20%)
CMYKcmyk(76.5%, 88.2%, 0%, 80%)
CIE-LABlab(4.04, 15.93, -27.00)
CIE-LCHlch(4.04, 31.35, 300.54°)
OKLaboklab(17.35% 0.0141 -0.0826)
OKLCHoklch(17.35% 0.084 279.7)
XYZxyz(0.8141, 0.4474, 3.1748)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0633 #2D3306
analogous
#061633 #0C0633 #220633
triadic
#0C0633 #330C06 #06330C
tetradic
#0C0633 #330616 #2D3306 #063322
square
#0C0633 #330616 #2D3306 #063322
split-complementary
#0C0633 #332206 #163306
monochromatic
#06031B #06031B #0C0633 #190C6A #2613A1

Accessibility & contrast

On white

19.28
#0C0633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0C0633 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0633
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0633#FFFFFF#000000##FFFFFF
##0C06331.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001034
Deuteranopia (green-blind)
#000C32
Tritanopia (blue-blind)
#00131C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0c0633;
/* rgb */ color: rgb(12, 6, 51);
/* oklch */ color: oklch(17.4% 0.084 279.7);
Tailwind
colors: {
  custom: {
    50: '#50496b',
    500: '#0c0633',
    950: '#000000',
  },
}
SCSS
$custom: #0c0633;
$custom-light: #50496b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0633",
  "rgb": {
    "r": 12,
    "g": 6,
    "b": 51
  },
  "hsl": {
    "h": 248,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17352,
    "c": 0.08376,
    "h": 279.7
  },
  "luminance": 0.00447
}

Semantic roles & 50–950 ramp

primary
#0C0633
secondary
#697421
accent
#F532DB
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0C0633

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

Preview Lab → · Contrast checker → · Palette generator →

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