#0B0B2F#0B0B2F

#0B0B2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.070 H 276.7°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#0B0B2F
RGBrgb(11, 11, 47)
HSLhsl(240, 62%, 11%)
HSVhsv(240, 77%, 18%)
CMYKcmyk(76.6%, 76.6%, 0%, 81.6%)
CIE-LABlab(4.66, 11.49, -23.05)
CIE-LCHlch(4.66, 25.75, 296.50°)
OKLaboklab(17.85% 0.0081 -0.0695)
OKLCHoklch(17.85% 0.07 276.7)
XYZxyz(0.7706, 0.5157, 2.7477)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0B2F #2F2F0B
analogous
#0B1D2F #0B0B2F #1D0B2F
triadic
#0B0B2F #2F0B0B #0B2F0B
tetradic
#0B0B2F #2F0B1D #2F2F0B #0B2F1D
square
#0B0B2F #2F0B1D #2F2F0B #0B2F1D
split-complementary
#0B0B2F #2F1D0B #1D2F0B
monochromatic
#060619 #060619 #0B0B2F #171761 #222292

Accessibility & contrast

On white

19.04
#0B0B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0B0B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0B2F
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0B2F#FFFFFF#000000##FFFFFF
##0B0B2F1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0b0b2f;
/* rgb */ color: rgb(11, 11, 47);
/* oklch */ color: oklch(17.9% 0.070 276.7);
Tailwind
colors: {
  custom: {
    50: '#4e4b68',
    500: '#0b0b2f',
    950: '#000000',
  },
}
SCSS
$custom: #0b0b2f;
$custom-light: #4e4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0b2f",
  "rgb": {
    "r": 11,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17853,
    "c": 0.06993,
    "h": 276.7
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#0B0B2F
secondary
#6B6B2A
accent
#E543E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0B0B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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