#0B0C41#0B0C41

#0B0C41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.097 H 272.7°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#0B0C41
RGBrgb(11, 12, 65)
HSLhsl(239, 71%, 15%)
HSVhsv(239, 83%, 25%)
CMYKcmyk(83.1%, 81.5%, 0%, 74.5%)
CIE-LABlab(6.46, 20.35, -33.24)
CIE-LCHlch(6.46, 38.97, 301.47°)
OKLaboklab(20.15% 0.0046 -0.0967)
OKLCHoklch(20.15% 0.097 272.7)
XYZxyz(1.2233, 0.7156, 5.0737)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0C41 #41400B
analogous
#0B2741 #0B0C41 #250B41
triadic
#0B0C41 #410B0C #0C410B
tetradic
#0B0C41 #410B27 #41400B #0B4125
square
#0B0C41 #410B27 #41400B #0B4125
split-complementary
#0B0C41 #41250B #27410B
monochromatic
#04051A #04051A #0B0C41 #141675 #1D1FAA

Accessibility & contrast

On white

18.37
#0B0C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0C41
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0C41#FFFFFF#000000##FFFFFF
##0B0C411.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b0c41;
/* rgb */ color: rgb(11, 12, 65);
/* oklch */ color: oklch(20.1% 0.097 272.7);
Tailwind
colors: {
  custom: {
    50: '#544b76',
    500: '#0b0c41',
    950: '#000000',
  },
}
SCSS
$custom: #0b0c41;
$custom-light: #544b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0c41",
  "rgb": {
    "r": 11,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 238.889,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20146,
    "c": 0.09683,
    "h": 272.7
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#0B0C41
secondary
#7E7C2A
accent
#EA3AEE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0C41

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

Preview Lab → · Contrast checker → · Palette generator →

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