#0C0B46#0C0B46

#0C0B46 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.105 H 273.0°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#0C0B46
RGBrgb(12, 11, 70)
HSLhsl(241, 73%, 16%)
HSVhsv(241, 84%, 27%)
CMYKcmyk(82.9%, 84.3%, 0%, 72.5%)
CIE-LABlab(6.86, 23.33, -36.13)
CIE-LCHlch(6.86, 43.01, 302.86°)
OKLaboklab(20.67% 0.0056 -0.1048)
OKLCHoklch(20.67% 0.105 273)
XYZxyz(1.3764, 0.7596, 5.8672)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0B46 #45460B
analogous
#0B2746 #0C0B46 #290B46
triadic
#0C0B46 #460C0B #0B460C
tetradic
#0C0B46 #460B27 #45460B #0B4629
square
#0C0B46 #460B27 #45460B #0B4629
split-complementary
#0C0B46 #46290B #27460B
monochromatic
#05041A #05041A #0C0B46 #15137B #1E1CB0

Accessibility & contrast

On white

18.23
#0C0B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0B46
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0B46#FFFFFF#000000##FFFFFF
##0C0B461.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001245
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c0b46;
/* rgb */ color: rgb(12, 11, 70);
/* oklch */ color: oklch(20.7% 0.105 273.0);
Tailwind
colors: {
  custom: {
    50: '#574b7a',
    500: '#0c0b46',
    950: '#000000',
  },
}
SCSS
$custom: #0c0b46;
$custom-light: #574b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0b46",
  "rgb": {
    "r": 12,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 241.017,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.20668,
    "c": 0.10498,
    "h": 273
  },
  "luminance": 0.0076
}

Semantic roles & 50–950 ramp

primary
#0C0B46
secondary
#81822A
accent
#F038EC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0C0B46

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

Preview Lab → · Contrast checker → · Palette generator →

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