#0B164B#0B164B

#0B164B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.099 H 268.2°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#0B164B
RGBrgb(11, 22, 75)
HSLhsl(230, 74%, 17%)
HSVhsv(230, 85%, 29%)
CMYKcmyk(85.3%, 70.7%, 0%, 70.6%)
CIE-LABlab(10.20, 17.67, -34.12)
CIE-LCHlch(10.20, 38.43, 297.37°)
OKLaboklab(23.28% -0.003 -0.0987)
OKLCHoklch(23.28% 0.099 268.2)
XYZxyz(1.6945, 1.1528, 6.7884)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B164B #4B400B
analogous
#0B364B #0B164B #200B4B
triadic
#0B164B #4B0B16 #164B0B
tetradic
#0B164B #4B0B36 #4B400B #0B4B20
square
#0B164B #4B0B36 #4B400B #0B4B20
split-complementary
#0B164B #4B200B #364B0B
monochromatic
#04081B #04081B #0B164B #132680 #1B35B6

Accessibility & contrast

On white

17.06
#0B164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B164B
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B164B#FFFFFF#000000##FFFFFF
##0B164B1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4D
Deuteranopia (green-blind)
#00194A
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0b164b;
/* rgb */ color: rgb(11, 22, 75);
/* oklch */ color: oklch(23.3% 0.099 268.2);
Tailwind
colors: {
  custom: {
    50: '#57527e',
    500: '#0b164b',
    950: '#000000',
  },
}
SCSS
$custom: #0b164b;
$custom-light: #57527e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b164b",
  "rgb": {
    "r": 11,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 229.688,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23281,
    "c": 0.09877,
    "h": 268.2
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#0B164B
secondary
#87772B
accent
#D137F1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0B164B

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

Preview Lab → · Contrast checker → · Palette generator →

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