#0B1047#0B1047

#0B1047 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.101 H 270.7°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#0B1047
RGBrgb(11, 16, 71)
HSLhsl(235, 73%, 16%)
HSVhsv(235, 85%, 28%)
CMYKcmyk(84.5%, 77.5%, 0%, 72.2%)
CIE-LABlab(8.10, 20.43, -34.80)
CIE-LCHlch(8.10, 40.35, 300.42°)
OKLaboklab(21.61% 0.0012 -0.1007)
OKLCHoklch(21.61% 0.101 270.7)
XYZxyz(1.4602, 0.8965, 6.0561)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1047 #47420B
analogous
#0B2E47 #0B1047 #240B47
triadic
#0B1047 #470B10 #10470B
tetradic
#0B1047 #470B2E #47420B #0B4724
square
#0B1047 #470B2E #47420B #0B4724
split-complementary
#0B1047 #47240B #2E470B
monochromatic
#04061A #04061A #0B1047 #131C7C #1B28B1

Accessibility & contrast

On white

17.81
#0B1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0B1047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1047
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1047#FFFFFF#000000##FFFFFF
##0B10471.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0b1047;
/* rgb */ color: rgb(11, 16, 71);
/* oklch */ color: oklch(21.6% 0.101 270.7);
Tailwind
colors: {
  custom: {
    50: '#564e7b',
    500: '#0b1047',
    950: '#000000',
  },
}
SCSS
$custom: #0b1047;
$custom-light: #564e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1047",
  "rgb": {
    "r": 11,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 235,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21612,
    "c": 0.10072,
    "h": 270.7
  },
  "luminance": 0.00897
}

Semantic roles & 50–950 ramp

primary
#0B1047
secondary
#837C2A
accent
#E138F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #0B1047

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

Preview Lab → · Contrast checker → · Palette generator →

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