#0B0B4A#0B0B4A

#0B0B4A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.111 H 271.7°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#0B0B4A
RGBrgb(11, 11, 74)
HSLhsl(240, 74%, 17%)
HSVhsv(240, 85%, 29%)
CMYKcmyk(85.1%, 85.1%, 0%, 71%)
CIE-LABlab(7.27, 24.93, -38.26)
CIE-LCHlch(7.27, 45.67, 303.09°)
OKLaboklab(21.11% 0.0033 -0.1109)
OKLCHoklch(21.11% 0.111 271.7)
XYZxyz(1.4933, 0.8047, 6.5539)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0B4A #4A4A0B
analogous
#0B2B4A #0B0B4A #2B0B4A
triadic
#0B0B4A #4A0B0B #0B4A0B
tetradic
#0B0B4A #4A0B2B #4A4A0B #0B4A2B
square
#0B0B4A #4A0B2B #4A4A0B #0B4A2B
split-complementary
#0B0B4A #4A2B0B #2B4A0B
monochromatic
#04041B #04041B #0B0B4A #13137F #1B1BB5

Accessibility & contrast

On white

18.09
#0B0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0B0B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0B4A
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0B4A#FFFFFF#000000##FFFFFF
##0B0B4A1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194C
Deuteranopia (green-blind)
#001349
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0b0b4a;
/* rgb */ color: rgb(11, 11, 74);
/* oklch */ color: oklch(21.1% 0.111 271.7);
Tailwind
colors: {
  custom: {
    50: '#584b7d',
    500: '#0b0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #0b0b4a;
$custom-light: #584b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0b4a",
  "rgb": {
    "r": 11,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 240,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21113,
    "c": 0.11093,
    "h": 271.7
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#0B0B4A
secondary
#86862B
accent
#F137F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0B0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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