#0B163F#0B163F

#0B163F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.080 H 267.8°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#0B163F
RGBrgb(11, 22, 63)
HSLhsl(227, 70%, 15%)
HSVhsv(227, 83%, 25%)
CMYKcmyk(82.5%, 65.1%, 0%, 75.3%)
CIE-LABlab(9.02, 12.38, -27.64)
CIE-LCHlch(9.02, 30.28, 294.14°)
OKLaboklab(22.04% -0.003 -0.0797)
OKLCHoklch(22.04% 0.08 267.8)
XYZxyz(1.3218, 1.0037, 4.8257)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B163F #3F340B
analogous
#0B303F #0B163F #1A0B3F
triadic
#0B163F #3F0B16 #163F0B
tetradic
#0B163F #3F0B30 #3F340B #0B3F1A
square
#0B163F #3F0B30 #3F340B #0B3F1A
split-complementary
#0B163F #3F1A0B #303F0B
monochromatic
#05091A #05091A #0B163F #142873 #1D3AA7

Accessibility & contrast

On white

17.49
#0B163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0B163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B163F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B163F#FFFFFF#000000##FFFFFF
##0B163F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b163f;
/* rgb */ color: rgb(11, 22, 63);
/* oklch */ color: oklch(22.0% 0.080 267.8);
Tailwind
colors: {
  custom: {
    50: '#535274',
    500: '#0b163f',
    950: '#000000',
  },
}
SCSS
$custom: #0b163f;
$custom-light: #535274;
$custom-dark: #000000;
JSON
{
  "hex": "#0b163f",
  "rgb": {
    "r": 11,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 227.308,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22037,
    "c": 0.07974,
    "h": 267.8
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#0B163F
secondary
#7C6A2A
accent
#C73BED
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B163F

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

Preview Lab → · Contrast checker → · Palette generator →

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