#0B0B45#0B0B45

#0B0B45 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.5% C 0.104 H 272.4°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#0B0B45
RGBrgb(11, 11, 69)
HSLhsl(240, 73%, 16%)
HSVhsv(240, 84%, 27%)
CMYKcmyk(84.1%, 84.1%, 0%, 72.9%)
CIE-LABlab(6.68, 22.76, -35.71)
CIE-LCHlch(6.68, 42.35, 302.50°)
OKLaboklab(20.47% 0.0044 -0.1038)
OKLCHoklch(20.47% 0.104 272.4)
XYZxyz(1.3315, 0.7400, 5.7017)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0B45 #45450B
analogous
#0B2845 #0B0B45 #280B45
triadic
#0B0B45 #450B0B #0B450B
tetradic
#0B0B45 #450B28 #45450B #0B4528
square
#0B0B45 #450B28 #45450B #0B4528
split-complementary
#0B0B45 #45280B #28450B
monochromatic
#04041A #04041A #0B0B45 #13137A #1C1CAF

Accessibility & contrast

On white

18.29
#0B0B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0B0B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0B45
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0B45#FFFFFF#000000##FFFFFF
##0B0B451.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001847
Deuteranopia (green-blind)
#001244
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0b0b45;
/* rgb */ color: rgb(11, 11, 69);
/* oklch */ color: oklch(20.5% 0.104 272.4);
Tailwind
colors: {
  custom: {
    50: '#564b79',
    500: '#0b0b45',
    950: '#000000',
  },
}
SCSS
$custom: #0b0b45;
$custom-light: #564b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0b45",
  "rgb": {
    "r": 11,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 240,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20472,
    "c": 0.10385,
    "h": 272.4
  },
  "luminance": 0.0074
}

Semantic roles & 50–950 ramp

primary
#0B0B45
secondary
#81812A
accent
#EF39EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0B0B45

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

Preview Lab → · Contrast checker → · Palette generator →

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