#0B174D#0B174D

#0B174D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.100 H 267.8°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#0B174D
RGBrgb(11, 23, 77)
HSLhsl(229, 75%, 17%)
HSVhsv(229, 86%, 30%)
CMYKcmyk(85.7%, 70.1%, 0%, 69.8%)
CIE-LABlab(10.70, 17.77, -34.69)
CIE-LCHlch(10.70, 38.98, 297.13°)
OKLaboklab(23.71% -0.0038 -0.1004)
OKLCHoklch(23.71% 0.1 267.8)
XYZxyz(1.7835, 1.2196, 7.1611)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B174D #4D410B
analogous
#0B384D #0B174D #200B4D
triadic
#0B174D #4D0B17 #174D0B
tetradic
#0B174D #4D0B38 #4D410B #0B4D20
square
#0B174D #4D0B38 #4D410B #0B4D20
split-complementary
#0B174D #4D200B #384D0B
monochromatic
#04081B #04081B #0B174D #132783 #1A37B8

Accessibility & contrast

On white

16.88
#0B174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0B174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B174D
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B174D#FFFFFF#000000##FFFFFF
##0B174D1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#001A4C
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0b174d;
/* rgb */ color: rgb(11, 23, 77);
/* oklch */ color: oklch(23.7% 0.100 267.8);
Tailwind
colors: {
  custom: {
    50: '#57537f',
    500: '#0b174d',
    950: '#000000',
  },
}
SCSS
$custom: #0b174d;
$custom-light: #57537f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b174d",
  "rgb": {
    "r": 11,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 229.091,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23711,
    "c": 0.10044,
    "h": 267.8
  },
  "luminance": 0.0122
}

Semantic roles & 50–950 ramp

primary
#0B174D
secondary
#89782B
accent
#D036F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0B174D

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

Preview Lab → · Contrast checker → · Palette generator →

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