#0C0B47#0C0B47

#0C0B47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.106 H 272.9°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#0C0B47
RGBrgb(12, 11, 71)
HSLhsl(241, 73%, 16%)
HSVhsv(241, 85%, 28%)
CMYKcmyk(83.1%, 84.5%, 0%, 72.2%)
CIE-LABlab(6.98, 23.77, -36.64)
CIE-LCHlch(6.98, 43.67, 302.97°)
OKLaboklab(20.8% 0.0053 -0.1063)
OKLCHoklch(20.8% 0.106 272.9)
XYZxyz(1.4082, 0.7723, 6.0349)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0B47 #46470B
analogous
#0B2847 #0C0B47 #2A0B47
triadic
#0C0B47 #470C0B #0B470C
tetradic
#0C0B47 #470B28 #46470B #0B472A
square
#0C0B47 #470B28 #46470B #0B472A
split-complementary
#0C0B47 #472A0B #28470B
monochromatic
#04041A #04041A #0C0B47 #15137C #1E1BB1

Accessibility & contrast

On white

18.19
#0C0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0C0B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0B47
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0B47#FFFFFF#000000##FFFFFF
##0C0B471.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001246
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c0b47;
/* rgb */ color: rgb(12, 11, 71);
/* oklch */ color: oklch(20.8% 0.106 272.9);
Tailwind
colors: {
  custom: {
    50: '#574b7b',
    500: '#0c0b47',
    950: '#000000',
  },
}
SCSS
$custom: #0c0b47;
$custom-light: #574b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0b47",
  "rgb": {
    "r": 12,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 241,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.20795,
    "c": 0.1064,
    "h": 272.9
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#0C0B47
secondary
#82832A
accent
#F038ED
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0C0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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