#0B173E#0B173E

#0B173E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.077 H 267.0°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#0B173E
RGBrgb(11, 23, 62)
HSLhsl(226, 70%, 14%)
HSVhsv(226, 82%, 24%)
CMYKcmyk(82.3%, 62.9%, 0%, 75.7%)
CIE-LABlab(9.25, 11.15, -26.55)
CIE-LCHlch(9.25, 28.80, 292.77°)
OKLaboklab(22.18% -0.004 -0.0765)
OKLCHoklch(22.18% 0.077 267)
XYZxyz(1.3136, 1.0316, 4.6864)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B173E #3E320B
analogous
#0B313E #0B173E #190B3E
triadic
#0B173E #3E0B17 #173E0B
tetradic
#0B173E #3E0B31 #3E320B #0B3E19
square
#0B173E #3E0B31 #3E320B #0B3E19
split-complementary
#0B173E #3E190B #313E0B
monochromatic
#050A1A #050A1A #0B173E #142A72 #1D3EA6

Accessibility & contrast

On white

17.41
#0B173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0B173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B173E
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B173E#FFFFFF#000000##FFFFFF
##0B173E1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b173e;
/* rgb */ color: rgb(11, 23, 62);
/* oklch */ color: oklch(22.2% 0.077 267.0);
Tailwind
colors: {
  custom: {
    50: '#525374',
    500: '#0b173e',
    950: '#000000',
  },
}
SCSS
$custom: #0b173e;
$custom-light: #525374;
$custom-dark: #000000;
JSON
{
  "hex": "#0b173e",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 225.882,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22181,
    "c": 0.07659,
    "h": 267
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#0B173E
secondary
#7B682A
accent
#C33BED
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B173E

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

Preview Lab → · Contrast checker → · Palette generator →

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