#0B052B#0B052B

#0B052B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.0% C 0.074 H 282.4°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#0B052B
RGBrgb(11, 5, 43)
HSLhsl(249, 79%, 9%)
HSVhsv(249, 88%, 17%)
CMYKcmyk(74.4%, 88.4%, 0%, 83.1%)
CIE-LABlab(3.20, 11.95, -22.35)
CIE-LCHlch(3.20, 25.34, 298.13°)
OKLaboklab(16.01% 0.0159 -0.072)
OKLCHoklch(16.01% 0.074 282.4)
XYZxyz(0.6282, 0.3541, 2.3203)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B052B #252B05
analogous
#05122B #0B052B #1E052B
triadic
#0B052B #2B0B05 #052B0B
tetradic
#0B052B #2B0512 #252B05 #052B1E
square
#0B052B #2B0512 #252B05 #052B1E
split-complementary
#0B052B #2B1E05 #122B05
monochromatic
#07031B #07031B #0B052B #190B62 #271299

Accessibility & contrast

On white

19.61
#0B052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B052B
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B052B#FFFFFF#000000##FFFFFF
##0B052B1.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2C
Deuteranopia (green-blind)
#000A2A
Tritanopia (blue-blind)
#000F17
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0b052b;
/* rgb */ color: rgb(11, 5, 43);
/* oklch */ color: oklch(16.0% 0.074 282.4);
Tailwind
colors: {
  custom: {
    50: '#4d4964',
    500: '#0b052b',
    950: '#000000',
  },
}
SCSS
$custom: #0b052b;
$custom-light: #4d4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0b052b",
  "rgb": {
    "r": 11,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 249.474,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16015,
    "c": 0.07369,
    "h": 282.4
  },
  "luminance": 0.00354
}

Semantic roles & 50–950 ramp

primary
#0B052B
secondary
#606D1F
accent
#F632D7
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0B052B

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

Preview Lab → · Contrast checker → · Palette generator →

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