#0B062F#0B062F

#0B062F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.078 H 279.9°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#0B062F
RGBrgb(11, 6, 47)
HSLhsl(247, 77%, 10%)
HSVhsv(247, 87%, 18%)
CMYKcmyk(76.6%, 87.2%, 0%, 81.6%)
CIE-LABlab(3.67, 13.50, -24.61)
CIE-LCHlch(3.67, 28.08, 298.75°)
OKLaboklab(16.75% 0.0135 -0.0768)
OKLCHoklch(16.75% 0.078 279.9)
XYZxyz(0.7161, 0.4066, 2.7295)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B062F #2A2F06
analogous
#06152F #0B062F #1F062F
triadic
#0B062F #2F0B06 #062F0B
tetradic
#0B062F #2F0615 #2A2F06 #062F1F
square
#0B062F #2F0615 #2A2F06 #062F1F
split-complementary
#0B062F #2F1F06 #152F06
monochromatic
#06031B #06031B #0B062F #180D65 #24149C

Accessibility & contrast

On white

19.42
#0B062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0B062F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B062F
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B062F#FFFFFF#000000##FFFFFF
##0B062F1.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0b062f;
/* rgb */ color: rgb(11, 6, 47);
/* oklch */ color: oklch(16.8% 0.078 279.9);
Tailwind
colors: {
  custom: {
    50: '#4e4968',
    500: '#0b062f',
    950: '#000000',
  },
}
SCSS
$custom: #0b062f;
$custom-light: #4e4968;
$custom-dark: #000000;
JSON
{
  "hex": "#0b062f",
  "rgb": {
    "r": 11,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 247.317,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16754,
    "c": 0.07796,
    "h": 279.9
  },
  "luminance": 0.00407
}

Semantic roles & 50–950 ramp

primary
#0B062F
secondary
#667021
accent
#F434DC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B062F

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

Preview Lab → · Contrast checker → · Palette generator →

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