#0B1946#0B1946

#0B1946 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.087 H 266.5°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#0B1946
RGBrgb(11, 25, 70)
HSLhsl(226, 73%, 16%)
HSVhsv(226, 84%, 27%)
CMYKcmyk(84.3%, 64.3%, 0%, 72.5%)
CIE-LABlab(10.62, 13.16, -29.97)
CIE-LCHlch(10.62, 32.73, 293.70°)
OKLaboklab(23.44% -0.0053 -0.0865)
OKLCHoklch(23.44% 0.087 266.5)
XYZxyz(1.5907, 1.2084, 5.9426)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1946 #46380B
analogous
#0B3646 #0B1946 #1A0B46
triadic
#0B1946 #460B19 #19460B
tetradic
#0B1946 #460B36 #46380B #0B461A
square
#0B1946 #460B36 #46380B #0B461A
split-complementary
#0B1946 #461A0B #36460B
monochromatic
#04091A #04091A #0B1946 #132C7B #1C3FB0

Accessibility & contrast

On white

16.91
#0B1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1946
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1946#FFFFFF#000000##FFFFFF
##0B19461.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0b1946;
/* rgb */ color: rgb(11, 25, 70);
/* oklch */ color: oklch(23.4% 0.087 266.5);
Tailwind
colors: {
  custom: {
    50: '#55557a',
    500: '#0b1946',
    950: '#000000',
  },
}
SCSS
$custom: #0b1946;
$custom-light: #55557a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1946",
  "rgb": {
    "r": 11,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 225.763,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23437,
    "c": 0.08665,
    "h": 266.5
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#0B1946
secondary
#826E2A
accent
#C438F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0B1946

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

Preview Lab → · Contrast checker → · Palette generator →

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