#172854

Closest named color: Marine (#042E60). oklch(28.9% 0.083 265.6), rgb(23, 40, 84).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.46:1
White text14.30:1

Values

HEX#172854
RGBrgb(23, 40, 84)
HSLhsl(223, 57%, 21%)
OKLCHoklch(28.9% 0.083 265.6)

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

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E1EAFE

    oklch(93.6% 0.029 266.4)

  3. Step 200

    200

    #C8D9FE

    oklch(88.5% 0.054 265.8)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #739CFF

    oklch(70.7% 0.152 265.7)

  6. Step 500

    500

    #4F7FFF

    oklch(63.1% 0.197 265.6)

  7. Step 600

    600

    #3563F1

    oklch(55.6% 0.219 265.7)

  8. Step 700

    700

    #2851D2

    oklch(49.2% 0.204 265.6)

  9. Step 800

    800

    #2243A9

    oklch(42.6% 0.168 265.7)

  10. Step 900

    900

    #1F3A86

    oklch(37.6% 0.132 265.6)

  11. Step 950

    950 (this color)

    #172854

    oklch(28.9% 0.083 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#172854 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)#112D560.015
Deuteranopia (no green cones)#0428530.018
Tritanopia (no blue cones)#00323A0.067
Achromatopsia (no color)#2A2A2A0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #172854

    #172854

    oklch(28.9% 0.083 265.6)

  • #382800

    #382800

    oklch(28.8% 0.059 85.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172854

    #172854

    oklch(28.9% 0.083 265.6)

  • #002F45

    #002F45

    oklch(28.8% 0.062 235.5)

  • #2F204F

    #2F204F

    oklch(28.8% 0.083 295.4)

Open the analogous palette in the generator

Split complementary

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

  • #172854

    #172854

    oklch(28.9% 0.083 265.6)

  • #452000

    #452000

    oklch(29% 0.071 56.1)

  • #2A2F00

    #2A2F00

    oklch(29% 0.066 116)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172854

    #172854

    oklch(28.9% 0.083 265.6)

  • #4D1614

    #4D1614

    oklch(29% 0.084 25.8)

  • #05350E

    #05350E

    oklch(28.8% 0.082 145.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172854

    #172854

    oklch(28.9% 0.083 265.6)

  • #49152D

    #49152D

    oklch(28.9% 0.084 355.1)

  • #382800

    #382800

    oklch(28.8% 0.059 85.3)

  • #00342A

    #00342A

    oklch(29% 0.055 175.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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