#0B062A#0B062A

#0B062A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.1% C 0.070 H 282.1°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#0B062A
RGBrgb(11, 6, 42)
HSLhsl(248, 75%, 9%)
HSVhsv(248, 86%, 16%)
CMYKcmyk(73.8%, 85.7%, 0%, 83.5%)
CIE-LABlab(3.33, 11.09, -21.38)
CIE-LCHlch(3.33, 24.09, 297.41°)
OKLaboklab(16.15% 0.0147 -0.0686)
OKLCHoklch(16.15% 0.07 282.1)
XYZxyz(0.6209, 0.3685, 2.2285)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B062A #252A06
analogous
#06132A #0B062A #1D062A
triadic
#0B062A #2A0B06 #062A0B
tetradic
#0B062A #2A0613 #252A06 #062A1D
square
#0B062A #2A0613 #252A06 #062A1D
split-complementary
#0B062A #2A1D06 #132A06
monochromatic
#07041B #07041B #0B062A #190E60 #271595

Accessibility & contrast

On white

19.56
#0B062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B062A
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B062A#FFFFFF#000000##FFFFFF
##0B062A1.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b062a;
/* rgb */ color: rgb(11, 6, 42);
/* oklch */ color: oklch(16.1% 0.070 282.1);
Tailwind
colors: {
  custom: {
    50: '#4c4964',
    500: '#0b062a',
    950: '#000000',
  },
}
SCSS
$custom: #0b062a;
$custom-light: #4c4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0b062a",
  "rgb": {
    "r": 11,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 248.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16148,
    "c": 0.07018,
    "h": 282.1
  },
  "luminance": 0.00369
}

Semantic roles & 50–950 ramp

primary
#0B062A
secondary
#606B21
accent
#F236D8
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0B062A

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

Preview Lab → · Contrast checker → · Palette generator →

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