#173F62

Closest named color: Marine Blue (#01386A). oklch(35.8% 0.076 248.1), rgb(23, 63, 98).

Aa

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

About this color

#173F62 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.076 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.033 away. White text reads best on it, at 10.91:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.92:1
White text10.91:1

Values

HEX#173F62
RGBrgb(23, 63, 98)
HSLhsl(208, 62%, 24%)
OKLCHoklch(35.8% 0.076 248.1)

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 #173F62 10.91:1 AAA Lc -98.9 Preferred for body text
Black text on #173F62 1.92:1 Fails Lc 8.9 Not readable
#173F62 text on white 10.91:1 AAA Lc 95.0 Preferred for body text
#173F62 text on black 1.92:1 Fails Lc -7.6 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 900.

  1. Step 50

    50

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CADBED

    oklch(88.4% 0.031 249.7)

  4. Step 300

    300

    #A4C5E4

    oklch(81% 0.057 246.9)

  5. Step 400

    400

    #72A6D7

    oklch(70.8% 0.091 247.8)

  6. Step 500

    500

    #4B8ECC

    oklch(63% 0.116 248.5)

  7. Step 600

    600

    #2A77B9

    oklch(55.5% 0.127 248.4)

  8. Step 700

    700

    #1C649F

    oklch(49% 0.117 248.2)

  9. Step 800

    800

    #1A5281

    oklch(42.7% 0.097 248)

  10. Step 900

    900 (this color)

    #173F62

    oklch(35.8% 0.076 248.1)

  11. Step 950

    950

    #12283D

    oklch(27% 0.048 249)

Export this scale for Tailwind in the Tailwind colors tool

#173F62 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)#2F41630.028
Deuteranopia (no green cones)#253A610.019
Tritanopia (no blue cones)#00474C0.055
Achromatopsia (no color)#3D3D3D0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #173F62

    #173F62

    oklch(35.8% 0.076 248.1)

  • #563404

    #563404

    oklch(35.8% 0.075 68.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173F62

    #173F62

    oklch(35.8% 0.076 248.1)

  • #004453

    #004453

    oklch(35.7% 0.064 218.7)

  • #343863

    #343863

    oklch(35.9% 0.074 277.9)

Open the analogous palette in the generator

Split complementary

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

  • #173F62

    #173F62

    oklch(35.8% 0.076 248.1)

  • #5D2D1D

    #5D2D1D

    oklch(35.8% 0.075 39)

  • #473C00

    #473C00

    oklch(35.7% 0.074 97.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173F62

    #173F62

    oklch(35.8% 0.076 248.1)

  • #5D2A35

    #5D2A35

    oklch(35.8% 0.075 8)

  • #314414

    #314414

    oklch(35.9% 0.076 128.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173F62

    #173F62

    oklch(35.8% 0.076 248.1)

  • #552C4A

    #552C4A

    oklch(35.8% 0.074 338)

  • #563404

    #563404

    oklch(35.8% 0.075 68.5)

  • #0D482D

    #0D482D

    oklch(35.7% 0.075 158.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #173F62 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.