#172045#172045

#172045 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.070 H 270.5°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#172045
RGBrgb(23, 32, 69)
HSLhsl(228, 50%, 18%)
HSVhsv(228, 67%, 27%)
CMYKcmyk(66.7%, 53.6%, 0%, 72.9%)
CIE-LABlab(13.50, 9.58, -24.58)
CIE-LCHlch(13.50, 26.38, 291.29°)
OKLaboklab(25.79% 0.0007 -0.0702)
OKLCHoklch(25.79% 0.07 270.5)
XYZxyz(1.9437, 1.6447, 5.8441)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172045 #453C17
analogous
#173745 #172045 #251745
triadic
#172045 #451720 #204517
tetradic
#172045 #451737 #453C17 #174525
square
#172045 #451737 #453C17 #174525
split-complementary
#172045 #452517 #374517
monochromatic
#080B17 #080B17 #172045 #263573 #364BA1

Accessibility & contrast

On white

15.80
#172045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#172045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172045
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172045#FFFFFF#000000##FFFFFF
##1720451.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2546
Deuteranopia (green-blind)
#072144
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #172045;
/* rgb */ color: rgb(23, 32, 69);
/* oklch */ color: oklch(25.8% 0.070 270.5);
Tailwind
colors: {
  custom: {
    50: '#595b79',
    500: '#172045',
    950: '#000000',
  },
}
SCSS
$custom: #172045;
$custom-light: #595b79;
$custom-dark: #000000;
JSON
{
  "hex": "#172045",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 228.261,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25785,
    "c": 0.07022,
    "h": 270.5
  },
  "luminance": 0.01645
}

Semantic roles & 50–950 ramp

primary
#172045
secondary
#7C6F3C
accent
#BE4EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #172045

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

Preview Lab → · Contrast checker → · Palette generator →

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