#0C0B56#0C0B56

#0C0B56 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 22.8% C 0.127 H 270.8°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#0C0B56
RGBrgb(12, 11, 86)
HSLhsl(241, 77%, 19%)
HSVhsv(241, 87%, 34%)
CMYKcmyk(86%, 87.2%, 0%, 66.3%)
CIE-LABlab(8.90, 29.56, -43.83)
CIE-LCHlch(8.90, 52.87, 303.99°)
OKLaboklab(22.75% 0.0017 -0.1269)
OKLCHoklch(22.75% 0.127 270.8)
XYZxyz(1.9504, 0.9892, 8.8904)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0B56 #55560B
analogous
#0B3056 #0C0B56 #320B56
triadic
#0C0B56 #560C0B #0B560C
tetradic
#0C0B56 #560B30 #55560B #0B5632
square
#0C0B56 #560B30 #55560B #0B5632
split-complementary
#0C0B56 #56320B #30560B
monochromatic
#04031B #040420 #0C0B56 #14128C #1B19C3

Accessibility & contrast

On white

17.53
#0C0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0C0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0B56
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0B56#FFFFFF#000000##FFFFFF
##0C0B561.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D58
Deuteranopia (green-blind)
#001555
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0c0b56;
/* rgb */ color: rgb(12, 11, 86);
/* oklch */ color: oklch(22.8% 0.127 270.8);
Tailwind
colors: {
  custom: {
    50: '#5c4c87',
    500: '#0c0b56',
    950: '#000000',
  },
}
SCSS
$custom: #0c0b56;
$custom-light: #5c4c87;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0b56",
  "rgb": {
    "r": 12,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 240.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.22752,
    "c": 0.12691,
    "h": 270.8
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#0C0B56
secondary
#90912B
accent
#F434F1
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0C0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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