#171045#171045

#171045 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.094 H 281.5°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#171045
RGBrgb(23, 16, 69)
HSLhsl(248, 62%, 17%)
HSVhsv(248, 77%, 27%)
CMYKcmyk(66.7%, 76.8%, 0%, 72.9%)
CIE-LABlab(8.84, 21.39, -32.13)
CIE-LCHlch(8.84, 38.60, 303.66°)
OKLaboklab(22.33% 0.0189 -0.0925)
OKLCHoklch(22.33% 0.094 281.5)
XYZxyz(1.6125, 0.9823, 5.7337)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171045 #3E4510
analogous
#102445 #171045 #321045
triadic
#171045 #451710 #104517
tetradic
#171045 #451024 #3E4510 #104532
square
#171045 #451024 #3E4510 #104532
split-complementary
#171045 #453210 #244510
monochromatic
#080619 #080619 #171045 #281C77 #3827A8

Accessibility & contrast

On white

17.55
#171045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#171045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171045
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171045#FFFFFF#000000##FFFFFF
##1710451.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001744
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #171045;
/* rgb */ color: rgb(23, 16, 69);
/* oklch */ color: oklch(22.3% 0.094 281.5);
Tailwind
colors: {
  custom: {
    50: '#5b4e79',
    500: '#171045',
    950: '#000000',
  },
}
SCSS
$custom: #171045;
$custom-light: #5b4e79;
$custom-dark: #000000;
JSON
{
  "hex": "#171045",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 247.925,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22332,
    "c": 0.09446,
    "h": 281.5
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#171045
secondary
#757F32
accent
#E542D0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #171045

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

Preview Lab → · Contrast checker → · Palette generator →

#171045 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva