#0B164A#0B164A

#0B164A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.097 H 268.2°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#0B164A
RGBrgb(11, 22, 74)
HSLhsl(230, 74%, 17%)
HSVhsv(230, 85%, 29%)
CMYKcmyk(85.1%, 70.3%, 0%, 71%)
CIE-LABlab(10.10, 17.23, -33.60)
CIE-LCHlch(10.10, 37.76, 297.15°)
OKLaboklab(23.17% -0.003 -0.0972)
OKLCHoklch(23.17% 0.097 268.2)
XYZxyz(1.6605, 1.1392, 6.6096)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B164A #4A3F0B
analogous
#0B364A #0B164A #200B4A
triadic
#0B164A #4A0B16 #164A0B
tetradic
#0B164A #4A0B36 #4A3F0B #0B4A20
square
#0B164A #4A0B36 #4A3F0B #0B4A20
split-complementary
#0B164A #4A200B #364A0B
monochromatic
#04081B #04081B #0B164A #13267F #1B36B5

Accessibility & contrast

On white

17.10
#0B164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0B164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B164A
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B164A#FFFFFF#000000##FFFFFF
##0B164A1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0b164a;
/* rgb */ color: rgb(11, 22, 74);
/* oklch */ color: oklch(23.2% 0.097 268.2);
Tailwind
colors: {
  custom: {
    50: '#56527d',
    500: '#0b164a',
    950: '#000000',
  },
}
SCSS
$custom: #0b164a;
$custom-light: #56527d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b164a",
  "rgb": {
    "r": 11,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 229.524,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23174,
    "c": 0.09723,
    "h": 268.2
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#0B164A
secondary
#86762B
accent
#D037F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#03020A
muted
#78787C

Preview Lab

Preview with #0B164A

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

Preview Lab → · Contrast checker → · Palette generator →

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