#0B052A#0B052A

#0B052A is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.9% C 0.072 H 282.9°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#0B052A
RGBrgb(11, 5, 42)
HSLhsl(250, 79%, 9%)
HSVhsv(250, 88%, 16%)
CMYKcmyk(73.8%, 88.1%, 0%, 83.5%)
CIE-LABlab(3.13, 11.49, -21.69)
CIE-LCHlch(3.13, 24.55, 297.91°)
OKLaboklab(15.89% 0.0161 -0.0703)
OKLCHoklch(15.89% 0.072 282.9)
XYZxyz(0.6101, 0.3468, 2.2248)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B052A #242A05
analogous
#05122A #0B052A #1E052A
triadic
#0B052A #2A0B05 #052A0B
tetradic
#0B052A #2A0512 #242A05 #052A1E
square
#0B052A #2A0512 #242A05 #052A1E
split-complementary
#0B052A #2A1E05 #122A05
monochromatic
#07031B #07031B #0B052A #190C61 #281297

Accessibility & contrast

On white

19.64
#0B052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0B052A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B052A
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B052A#FFFFFF#000000##FFFFFF
##0B052A1.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000A29
Tritanopia (blue-blind)
#000E16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0b052a;
/* rgb */ color: rgb(11, 5, 42);
/* oklch */ color: oklch(15.9% 0.072 282.9);
Tailwind
colors: {
  custom: {
    50: '#4c4964',
    500: '#0b052a',
    950: '#000000',
  },
}
SCSS
$custom: #0b052a;
$custom-light: #4c4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0b052a",
  "rgb": {
    "r": 11,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 249.73,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15892,
    "c": 0.07216,
    "h": 282.9
  },
  "luminance": 0.00347
}

Semantic roles & 50–950 ramp

primary
#0B052A
secondary
#5F6C1F
accent
#F533D6
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0B052A

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

Preview Lab → · Contrast checker → · Palette generator →

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