#172952

Closest named color: Marine (#042E60). oklch(29% 0.078 264.3), rgb(23, 41, 82).

Aa

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

About this color

#172952 is a dark, moderately saturated blue. In OKLCH its lightness is 29%, its chroma 0.078 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.029 away. White text reads best on it, at 14.23:1.

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.47:1
White text14.23:1

Values

HEX#172952
RGBrgb(23, 41, 82)
HSLhsl(222, 56%, 21%)
OKLCHoklch(29% 0.078 264.3)

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 #172952 14.23:1 AAA Lc -103.8 Preferred for body text
Black text on #172952 1.47:1 Fails Lc 0.0 Not readable
#172952 text on white 14.23:1 AAA Lc 100.8 Preferred for body text
#172952 text on black 1.47: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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C8DAFC

    oklch(88.6% 0.051 263.2)

  4. Step 300

    300

    #A2C0FD

    oklch(80.8% 0.093 264.1)

  5. Step 400

    400

    #719DFD

    oklch(70.7% 0.149 264.3)

  6. Step 500

    500

    #4D81FB

    oklch(63.1% 0.19 264.3)

  7. Step 600

    600

    #3267EA

    oklch(55.7% 0.206 264.1)

  8. Step 700

    700

    #2654CB

    oklch(49.1% 0.192 264.3)

  9. Step 800

    800

    #2046A4

    oklch(42.7% 0.158 264.1)

  10. Step 900

    900

    #1F3C82

    oklch(37.7% 0.123 264.3)

  11. Step 950

    950 (this color)

    #172952

    oklch(29% 0.078 264.3)

Export this scale for Tailwind in the Tailwind colors tool

#172952 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)#152E540.015
Deuteranopia (no green cones)#0A28510.014
Tritanopia (no blue cones)#0032390.064
Achromatopsia (no color)#2B2B2B0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #172952

    #172952

    oklch(29% 0.078 264.3)

  • #392800

    #392800

    oklch(28.9% 0.059 83.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172952

    #172952

    oklch(29% 0.078 264.3)

  • #003045

    #003045

    oklch(29.1% 0.061 233.8)

  • #2E224E

    #2E224E

    oklch(29.1% 0.078 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #172952

    #172952

    oklch(29% 0.078 264.3)

  • #461F00

    #461F00

    oklch(29% 0.073 53.9)

  • #2B2F00

    #2B2F00

    oklch(29.1% 0.066 114.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172952

    #172952

    oklch(29% 0.078 264.3)

  • #4B1817

    #4B1817

    oklch(29% 0.078 24.4)

  • #0C350F

    #0C350F

    oklch(29.1% 0.078 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172952

    #172952

    oklch(29% 0.078 264.3)

  • #48182E

    #48182E

    oklch(29.2% 0.078 354.5)

  • #392800

    #392800

    oklch(28.9% 0.059 83.9)

  • #003429

    #003429

    oklch(29% 0.055 173.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #172952 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.