#0B173F#0B173F

#0B173F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.078 H 267.1°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#0B173F
RGBrgb(11, 23, 63)
HSLhsl(226, 70%, 15%)
HSVhsv(226, 83%, 25%)
CMYKcmyk(82.5%, 63.5%, 0%, 75.3%)
CIE-LABlab(9.34, 11.59, -27.12)
CIE-LCHlch(9.34, 29.49, 293.15°)
OKLaboklab(22.28% -0.004 -0.0781)
OKLCHoklch(22.28% 0.078 267.1)
XYZxyz(1.3413, 1.0427, 4.8322)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B173F #3F330B
analogous
#0B313F #0B173F #190B3F
triadic
#0B173F #3F0B17 #173F0B
tetradic
#0B173F #3F0B31 #3F330B #0B3F19
square
#0B173F #3F0B31 #3F330B #0B3F19
split-complementary
#0B173F #3F190B #313F0B
monochromatic
#050A1A #050A1A #0B173F #142A73 #1D3DA7

Accessibility & contrast

On white

17.38
#0B173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B173F
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B173F#FFFFFF#000000##FFFFFF
##0B173F1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b173f;
/* rgb */ color: rgb(11, 23, 63);
/* oklch */ color: oklch(22.3% 0.078 267.1);
Tailwind
colors: {
  custom: {
    50: '#535374',
    500: '#0b173f',
    950: '#000000',
  },
}
SCSS
$custom: #0b173f;
$custom-light: #535374;
$custom-dark: #000000;
JSON
{
  "hex": "#0b173f",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 226.154,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22277,
    "c": 0.07824,
    "h": 267.1
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#0B173F
secondary
#7C692A
accent
#C43BED
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B173F

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

Preview Lab → · Contrast checker → · Palette generator →

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