#0B1947#0B1947

#0B1947 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.088 H 266.6°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#0B1947
RGBrgb(11, 25, 71)
HSLhsl(226, 73%, 16%)
HSVhsv(226, 85%, 28%)
CMYKcmyk(84.5%, 64.8%, 0%, 72.2%)
CIE-LABlab(10.71, 13.60, -30.51)
CIE-LCHlch(10.71, 33.41, 294.03°)
OKLaboklab(23.54% -0.0053 -0.0881)
OKLCHoklch(23.54% 0.088 266.6)
XYZxyz(1.6226, 1.2212, 6.1102)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1947 #47390B
analogous
#0B3747 #0B1947 #1B0B47
triadic
#0B1947 #470B19 #19470B
tetradic
#0B1947 #470B37 #47390B #0B471B
square
#0B1947 #470B37 #47390B #0B471B
split-complementary
#0B1947 #471B0B #37470B
monochromatic
#04091A #04091A #0B1947 #132C7C #1B3EB1

Accessibility & contrast

On white

16.88
#0B1947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0B1947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1947
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1947#FFFFFF#000000##FFFFFF
##0B19471.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0b1947;
/* rgb */ color: rgb(11, 25, 71);
/* oklch */ color: oklch(23.5% 0.088 266.6);
Tailwind
colors: {
  custom: {
    50: '#55557b',
    500: '#0b1947',
    950: '#000000',
  },
}
SCSS
$custom: #0b1947;
$custom-light: #55557b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1947",
  "rgb": {
    "r": 11,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 226,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23536,
    "c": 0.08825,
    "h": 266.6
  },
  "luminance": 0.01221
}

Semantic roles & 50–950 ramp

primary
#0B1947
secondary
#836F2A
accent
#C538F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1947

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

Preview Lab → · Contrast checker → · Palette generator →

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