#171B44#171B44

#171B44 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.076 H 275.1°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#171B44
RGBrgb(23, 27, 68)
HSLhsl(235, 49%, 18%)
HSVhsv(235, 66%, 27%)
CMYKcmyk(66.2%, 60.3%, 0%, 73.3%)
CIE-LABlab(11.85, 12.96, -26.55)
CIE-LCHlch(11.85, 29.54, 296.03°)
OKLaboklab(24.51% 0.0067 -0.0761)
OKLCHoklch(24.51% 0.076 275.1)
XYZxyz(1.7883, 1.3832, 5.6405)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171B44 #444017
analogous
#173144 #171B44 #291744
triadic
#171B44 #44171B #1B4417
tetradic
#171B44 #441731 #444017 #174429
square
#171B44 #441731 #444017 #174429
split-complementary
#171B44 #442917 #314417
monochromatic
#080917 #080917 #171B44 #262D72 #363F9F

Accessibility & contrast

On white

16.45
#171B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#171B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171B44
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171B44#FFFFFF#000000##FFFFFF
##171B441.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032145
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #171b44;
/* rgb */ color: rgb(23, 27, 68);
/* oklch */ color: oklch(24.5% 0.076 275.1);
Tailwind
colors: {
  custom: {
    50: '#595778',
    500: '#171b44',
    950: '#000000',
  },
}
SCSS
$custom: #171b44;
$custom-light: #595778;
$custom-dark: #000000;
JSON
{
  "hex": "#171b44",
  "rgb": {
    "r": 23,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 234.667,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2451,
    "c": 0.07637,
    "h": 275.1
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#171B44
secondary
#7B753C
accent
#CD4FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #171B44

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

Preview Lab → · Contrast checker → · Palette generator →

#171B44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva