#0B0B2E#0B0B2E

#0B0B2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.068 H 276.9°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#0B0B2E
RGBrgb(11, 11, 46)
HSLhsl(240, 61%, 11%)
HSVhsv(240, 76%, 18%)
CMYKcmyk(76.1%, 76.1%, 0%, 82%)
CIE-LABlab(4.59, 10.98, -22.41)
CIE-LCHlch(4.59, 24.96, 296.11°)
OKLaboklab(17.75% 0.0082 -0.0678)
OKLCHoklch(17.75% 0.068 276.9)
XYZxyz(0.7507, 0.5077, 2.6427)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0B2E #2E2E0B
analogous
#0B1C2E #0B0B2E #1C0B2E
triadic
#0B0B2E #2E0B0B #0B2E0B
tetradic
#0B0B2E #2E0B1C #2E2E0B #0B2E1C
square
#0B0B2E #2E0B1C #2E2E0B #0B2E1C
split-complementary
#0B0B2E #2E1C0B #1C2E0B
monochromatic
#060619 #060619 #0B0B2E #17175F #232391

Accessibility & contrast

On white

19.06
#0B0B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0B2E
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0B2E#FFFFFF#000000##FFFFFF
##0B0B2E1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0b0b2e;
/* rgb */ color: rgb(11, 11, 46);
/* oklch */ color: oklch(17.7% 0.068 276.9);
Tailwind
colors: {
  custom: {
    50: '#4e4b67',
    500: '#0b0b2e',
    950: '#000000',
  },
}
SCSS
$custom: #0b0b2e;
$custom-light: #4e4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0b2e",
  "rgb": {
    "r": 11,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17745,
    "c": 0.06826,
    "h": 276.9
  },
  "luminance": 0.00508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0B0B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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