#20517A

Closest named color: Deep Sea Blue (#015482). oklch(42.2% 0.086 247), rgb(32, 81, 122).

Aa

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

About this color

#20517A is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.086 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.018 away. White text reads best on it, at 8.33:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.51:1
White text8.33:1

Values

HEX#20517A
RGBrgb(32, 81, 122)
HSLhsl(207, 58%, 30%)
OKLCHoklch(42.2% 0.086 247)

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 #20517A 8.33:1 AAA Lc -93.1 Preferred for body text
Black text on #20517A 2.51:1 Fails Lc 15.5 Dividers and decoration only
#20517A text on white 8.33:1 AAA Lc 88.5 Fine for body text
#20517A text on black 2.51:1 Fails Lc -13.7 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 800.

  1. Step 50

    50

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E2EBF3

    oklch(93.6% 0.015 244.7)

  3. Step 200

    200

    #CBDBEB

    oklch(88.4% 0.028 248.1)

  4. Step 300

    300

    #A7C4E0

    oklch(80.8% 0.051 247.5)

  5. Step 400

    400

    #77A6D1

    oklch(70.8% 0.081 246.8)

  6. Step 500

    500

    #528FC4

    oklch(63.1% 0.102 246.5)

  7. Step 600

    600

    #3478B1

    oklch(55.6% 0.112 246.9)

  8. Step 700

    700

    #266598

    oklch(49.1% 0.104 246.6)

  9. Step 800

    800 (this color)

    #20517A

    oklch(42.2% 0.086 247)

  10. Step 900

    900

    #214463

    oklch(37.6% 0.067 247.4)

  11. Step 950

    950

    #14283A

    oklch(26.9% 0.043 247.2)

Export this scale for Tailwind in the Tailwind colors tool

#20517A 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)#3F537C0.035
Deuteranopia (no green cones)#324A790.025
Tritanopia (no blue cones)#005B600.063
Achromatopsia (no color)#4E4E4E0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #20517A

    #20517A

    oklch(42.2% 0.086 247)

  • #6D430D

    #6D430D

    oklch(42.3% 0.087 66.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20517A

    #20517A

    oklch(42.2% 0.086 247)

  • #005768

    #005768

    oklch(42.1% 0.075 217)

  • #42487C

    #42487C

    oklch(42.2% 0.086 277)

Open the analogous palette in the generator

Split complementary

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

  • #20517A

    #20517A

    oklch(42.2% 0.086 247)

  • #753B2A

    #753B2A

    oklch(42.3% 0.086 37.2)

  • #5B4D01

    #5B4D01

    oklch(42.2% 0.086 97)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20517A

    #20517A

    oklch(42.2% 0.086 247)

  • #743845

    #743845

    oklch(42.2% 0.085 7.7)

  • #41561D

    #41561D

    oklch(42.2% 0.086 126.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20517A

    #20517A

    oklch(42.2% 0.086 247)

  • #6B3A5F

    #6B3A5F

    oklch(42.3% 0.086 336.8)

  • #6D430D

    #6D430D

    oklch(42.3% 0.087 66.7)

  • #1A5B3A

    #1A5B3A

    oklch(42.1% 0.086 157.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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