#0B0B41#0B0B41

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

Color values

HEX#0B0B41
RGBrgb(11, 11, 65)
HSLhsl(240, 71%, 15%)
HSVhsv(240, 83%, 25%)
CMYKcmyk(83.1%, 83.1%, 0%, 74.5%)
CIE-LABlab(6.25, 20.89, -33.59)
CIE-LCHlch(6.25, 39.55, 301.88°)
OKLaboklab(19.97% 0.0052 -0.0979)
OKLCHoklch(19.97% 0.098 273.1)
XYZxyz(1.2115, 0.6920, 5.0697)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0B41 #41410B
analogous
#0B2641 #0B0B41 #260B41
triadic
#0B0B41 #410B0B #0B410B
tetradic
#0B0B41 #410B26 #41410B #0B4126
square
#0B0B41 #410B26 #41410B #0B4126
split-complementary
#0B0B41 #41260B #26410B
monochromatic
#04041A #04041A #0B0B41 #141475 #1D1DAA

Accessibility & contrast

On white

18.45
#0B0B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0B41
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0B41#FFFFFF#000000##FFFFFF
##0B0B411.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b0b41;
/* rgb */ color: rgb(11, 11, 65);
/* oklch */ color: oklch(20.0% 0.098 273.1);
Tailwind
colors: {
  custom: {
    50: '#544b76',
    500: '#0b0b41',
    950: '#000000',
  },
}
SCSS
$custom: #0b0b41;
$custom-light: #544b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0b41",
  "rgb": {
    "r": 11,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 240,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.19969,
    "c": 0.09805,
    "h": 273.1
  },
  "luminance": 0.00692
}

Semantic roles & 50–950 ramp

primary
#0B0B41
secondary
#7E7E2A
accent
#EE3AEE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0B0B41

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

Preview Lab → · Contrast checker → · Palette generator →

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