#0B173D#0B173D

#0B173D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.075 H 266.9°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#0B173D
RGBrgb(11, 23, 61)
HSLhsl(226, 69%, 14%)
HSVhsv(226, 82%, 24%)
CMYKcmyk(82%, 62.3%, 0%, 76.1%)
CIE-LABlab(9.16, 10.70, -25.98)
CIE-LCHlch(9.16, 28.10, 292.37°)
OKLaboklab(22.09% -0.0041 -0.0748)
OKLCHoklch(22.09% 0.075 266.9)
XYZxyz(1.2864, 1.0207, 4.5432)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B173D #3D310B
analogous
#0B303D #0B173D #180B3D
triadic
#0B173D #3D0B17 #173D0B
tetradic
#0B173D #3D0B30 #3D310B #0B3D18
square
#0B173D #3D0B30 #3D310B #0B3D18
split-complementary
#0B173D #3D180B #303D0B
monochromatic
#050A1A #050A1A #0B173D #142B71 #1E3EA5

Accessibility & contrast

On white

17.44
#0B173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B173D
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B173D#FFFFFF#000000##FFFFFF
##0B173D1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#00183C
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b173d;
/* rgb */ color: rgb(11, 23, 61);
/* oklch */ color: oklch(22.1% 0.075 266.9);
Tailwind
colors: {
  custom: {
    50: '#525373',
    500: '#0b173d',
    950: '#000000',
  },
}
SCSS
$custom: #0b173d;
$custom-light: #525373;
$custom-dark: #000000;
JSON
{
  "hex": "#0b173d",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 225.6,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22085,
    "c": 0.07492,
    "h": 266.9
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#0B173D
secondary
#7A672A
accent
#C23CEC
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B173D

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

Preview Lab → · Contrast checker → · Palette generator →

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