#17338A

Closest named color: Twilight Blue (#0A437A). oklch(36.2% 0.149 265.5), rgb(23, 51, 138).

Aa

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

About this color

#17338A is a dark, vivid blue. In OKLCH its lightness is 36%, its chroma 0.149 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.053 away. White text reads best on it, at 11.18:1.

Hue familyBlues
Lightnessdark (36%)
Chromavivid (0.149)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.87:1
White text11.18:1

Values

HEX#17338A
RGBrgb(23, 51, 138)
HSLhsl(225, 71%, 32%)
OKLCHoklch(36.2% 0.149 265.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 #17338A 11.18:1 AAA Lc -99.1 Preferred for body text
Black text on #17338A 1.87:1 Fails Lc 8.7 Not readable
#17338A text on white 11.18:1 AAA Lc 95.2 Preferred for body text
#17338A text on black 1.87:1 Fails Lc -7.4 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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  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

    #2D5EFF

    oklch(55.6% 0.244 265.5)

  8. Step 700

    700

    #214BE0

    oklch(49.2% 0.23 265.5)

  9. Step 800

    800

    #1C3FB5

    oklch(42.8% 0.19 265.6)

  10. Step 900

    900 (this color)

    #17338A

    oklch(36.2% 0.149 265.5)

  11. Step 950

    950

    #102254

    oklch(27.1% 0.094 265.5)

Export this scale for Tailwind in the Tailwind colors tool

#17338A 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)#00418D0.036
Deuteranopia (no green cones)#0036880.015
Tritanopia (no blue cones)#004A590.116
Achromatopsia (no color)#3B3B3B0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #17338A

    #17338A

    oklch(36.2% 0.149 265.5)

  • #4F3A00

    #4F3A00

    oklch(36.2% 0.074 85.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #17338A

    #17338A

    oklch(36.2% 0.149 265.5)

  • #004360

    #004360

    oklch(36.2% 0.077 235.3)

  • #472381

    #472381

    oklch(36.3% 0.148 295.5)

Open the analogous palette in the generator

Split complementary

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

  • #17338A

    #17338A

    oklch(36.2% 0.149 265.5)

  • #602E00

    #602E00

    oklch(36.1% 0.089 55)

  • #3C4200

    #3C4200

    oklch(36.1% 0.082 115.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #17338A

    #17338A

    oklch(36.2% 0.149 265.5)

  • #79000D

    #79000D

    oklch(36.3% 0.147 25.6)

  • #004C11

    #004C11

    oklch(36.2% 0.113 145.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #17338A

    #17338A

    oklch(36.2% 0.149 265.5)

  • #730041

    #730041

    oklch(36.3% 0.149 355.4)

  • #4F3A00

    #4F3A00

    oklch(36.2% 0.074 85.7)

  • #00493C

    #00493C

    oklch(36.2% 0.068 175.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #17338A.

Similar named colors

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

Use #17338A 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.