#0B173C#0B173C

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

Color values

HEX#0B173C
RGBrgb(11, 23, 60)
HSLhsl(225, 69%, 14%)
HSVhsv(225, 82%, 24%)
CMYKcmyk(81.7%, 61.7%, 0%, 76.5%)
CIE-LABlab(9.08, 10.24, -25.41)
CIE-LCHlch(9.08, 27.40, 291.95°)
OKLaboklab(21.99% -0.0042 -0.0731)
OKLCHoklch(21.99% 0.073 266.7)
XYZxyz(1.2597, 1.0101, 4.4027)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B173C #3C300B
analogous
#0B303C #0B173C #180B3C
triadic
#0B173C #3C0B17 #173C0B
tetradic
#0B173C #3C0B30 #3C300B #0B3C18
square
#0B173C #3C0B30 #3C300B #0B3C18
split-complementary
#0B173C #3C180B #303C0B
monochromatic
#050A1A #050A1A #0B173C #142B70 #1E3FA3

Accessibility & contrast

On white

17.47
#0B173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B173C
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B173C#FFFFFF#000000##FFFFFF
##0B173C1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b173c;
/* rgb */ color: rgb(11, 23, 60);
/* oklch */ color: oklch(22.0% 0.073 266.7);
Tailwind
colors: {
  custom: {
    50: '#525372',
    500: '#0b173c',
    950: '#000000',
  },
}
SCSS
$custom: #0b173c;
$custom-light: #525372;
$custom-dark: #000000;
JSON
{
  "hex": "#0b173c",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 225.306,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21991,
    "c": 0.07325,
    "h": 266.7
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#0B173C
secondary
#79652A
accent
#C13CEC
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #0B173C

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

Preview Lab → · Contrast checker → · Palette generator →

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