#172045

Closest named color: Oxford Blue (#1B263B). oklch(25.8% 0.07 270.5), rgb(23, 32, 69).

Aa

White text reads best on this color (15.80:1).

About this color

#172045 is a dark, moderately saturated blue. In OKLCH its lightness is 26%, its chroma 0.070 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.031 away. White text reads best on it, at 15.80:1.

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.32:1
White text15.80:1

Values

HEX#172045
RGBrgb(23, 32, 69)
HSLhsl(228, 50%, 18%)
OKLCHoklch(25.8% 0.07 270.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #172045 15.80:1 AAA Lc -105.2 Preferred for body text
Black text on #172045 1.32:1 Fails Lc 0.0 Not readable
#172045 text on white 15.80:1 AAA Lc 102.6 Preferred for body text
#172045 text on black 1.32:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CDD8F9

    oklch(88.4% 0.047 270.8)

  4. Step 300

    300

    #ACBEF7

    oklch(80.8% 0.083 270.9)

  5. Step 400

    400

    #819BF3

    oklch(70.7% 0.132 270.3)

  6. Step 500

    500

    #647FEF

    oklch(63.1% 0.17 270.7)

  7. Step 600

    600

    #4D65DE

    oklch(55.6% 0.186 270.7)

  8. Step 700

    700

    #3E53C0

    oklch(49% 0.172 270.5)

  9. Step 800

    800

    #33459C

    oklch(42.8% 0.143 270.4)

  10. Step 900

    900

    #2C3B7C

    oklch(37.7% 0.111 270.5)

  11. Step 950

    950 (this color)

    #172045

    oklch(25.8% 0.07 270.5)

Export this scale for Tailwind in the Tailwind colors tool

#172045 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0E25460.018
Deuteranopia (no green cones)#0721440.018
Tritanopia (no blue cones)#00282F0.060
Achromatopsia (no color)#2323230.070

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #172045

    #172045

    oklch(25.8% 0.07 270.5)

  • #2D2200

    #2D2200

    oklch(25.8% 0.053 90.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172045

    #172045

    oklch(25.8% 0.07 270.5)

  • #00263D

    #00263D

    oklch(25.7% 0.06 240.9)

  • #291A40

    #291A40

    oklch(25.8% 0.07 299.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #172045

    #172045

    oklch(25.8% 0.07 270.5)

  • #381B00

    #381B00

    oklch(25.8% 0.06 60)

  • #202800

    #202800

    oklch(26% 0.062 120.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172045

    #172045

    oklch(25.8% 0.07 270.5)

  • #3F130D

    #3F130D

    oklch(25.7% 0.07 30.3)

  • #002C10

    #002C10

    oklch(25.6% 0.069 150.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172045

    #172045

    oklch(25.8% 0.07 270.5)

  • #3D1222

    #3D1222

    oklch(25.8% 0.07 0.1)

  • #2D2200

    #2D2200

    oklch(25.8% 0.053 90.8)

  • #002B25

    #002B25

    oklch(25.9% 0.047 180.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #172045, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #172045 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.