#0C0B41#0C0B41

#0C0B41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.098 H 273.9°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#0C0B41
RGBrgb(12, 11, 65)
HSLhsl(241, 71%, 15%)
HSVhsv(241, 83%, 25%)
CMYKcmyk(81.5%, 83.1%, 0%, 74.5%)
CIE-LABlab(6.31, 21.05, -33.48)
CIE-LCHlch(6.31, 39.55, 302.16°)
OKLaboklab(20.04% 0.0067 -0.0975)
OKLCHoklch(20.04% 0.098 273.9)
XYZxyz(1.2251, 0.6990, 5.0704)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0B41 #40410B
analogous
#0B2541 #0C0B41 #270B41
triadic
#0C0B41 #410C0B #0B410C
tetradic
#0C0B41 #410B25 #40410B #0B4127
square
#0C0B41 #410B25 #40410B #0B4127
split-complementary
#0C0B41 #41270B #25410B
monochromatic
#05041A #05041A #0C0B41 #161475 #1F1DAA

Accessibility & contrast

On white

18.42
#0C0B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0C0B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0B41
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0B41#FFFFFF#000000##FFFFFF
##0C0B411.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0c0b41;
/* rgb */ color: rgb(12, 11, 65);
/* oklch */ color: oklch(20.0% 0.098 273.9);
Tailwind
colors: {
  custom: {
    50: '#554b76',
    500: '#0c0b41',
    950: '#000000',
  },
}
SCSS
$custom: #0c0b41;
$custom-light: #554b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0b41",
  "rgb": {
    "r": 12,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 241.111,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20042,
    "c": 0.09774,
    "h": 273.9
  },
  "luminance": 0.00699
}

Semantic roles & 50–950 ramp

primary
#0C0B41
secondary
#7C7E2A
accent
#EE3AEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C0B41

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

Preview Lab → · Contrast checker → · Palette generator →

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