#0B0B38#0B0B38

#0B0B38 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.084 H 274.7°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#0B0B38
RGBrgb(11, 11, 56)
HSLhsl(240, 67%, 13%)
HSVhsv(240, 80%, 22%)
CMYKcmyk(80.4%, 80.4%, 0%, 78%)
CIE-LABlab(5.38, 16.34, -28.52)
CIE-LCHlch(5.38, 32.87, 299.81°)
OKLaboklab(18.88% 0.0069 -0.0841)
OKLCHoklch(18.88% 0.084 274.7)
XYZxyz(0.9713, 0.5959, 3.8045)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0B38 #38380B
analogous
#0B2138 #0B0B38 #210B38
triadic
#0B0B38 #380B0B #0B380B
tetradic
#0B0B38 #380B21 #38380B #0B3821
square
#0B0B38 #380B21 #38380B #0B3821
split-complementary
#0B0B38 #38210B #21380B
monochromatic
#05051A #05051A #0B0B38 #15156B #1F1F9E

Accessibility & contrast

On white

18.76
#0B0B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0B0B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0B38
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0B38#FFFFFF#000000##FFFFFF
##0B0B381.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001037
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0b0b38;
/* rgb */ color: rgb(11, 11, 56);
/* oklch */ color: oklch(18.9% 0.084 274.7);
Tailwind
colors: {
  custom: {
    50: '#514b6f',
    500: '#0b0b38',
    950: '#000000',
  },
}
SCSS
$custom: #0b0b38;
$custom-light: #514b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0b38",
  "rgb": {
    "r": 11,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 240,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18876,
    "c": 0.08443,
    "h": 274.7
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#0B0B38
secondary
#75752A
accent
#EA3EEA
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0B0B38

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

Preview Lab → · Contrast checker → · Palette generator →

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