#20579B

Closest named color: Dusk Blue (#26538D). oklch(45.8% 0.125 255.7), rgb(32, 87, 155).

Aa

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

About this color

#20579B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.125 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.024 away. White text reads best on it, at 7.24:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.89:1
White text7.24:1

Values

HEX#20579B
RGBrgb(32, 87, 155)
HSLhsl(213, 66%, 37%)
OKLCHoklch(45.8% 0.125 255.7)

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 #20579B 7.24:1 AAA Lc -89.7 Fine for body text
Black text on #20579B 2.89:1 Fails Lc 19.3 Dividers and decoration only
#20579B text on white 7.24:1 AAA Lc 84.8 Fine for body text
#20579B text on black 2.89:1 Fails Lc -17.2 Dividers and decoration only

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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C8DBF4

    oklch(88.5% 0.04 255.3)

  4. Step 300

    300

    #A2C3F0

    oklch(80.9% 0.073 256.2)

  5. Step 400

    400

    #6EA3E8

    oklch(70.7% 0.116 255.5)

  6. Step 500

    500

    #468AE1

    oklch(63.1% 0.149 255.7)

  7. Step 600

    600

    #2472CF

    oklch(55.6% 0.162 255.6)

  8. Step 700

    700

    #165FB3

    oklch(49.1% 0.15 255.6)

  9. Step 800

    800 (this color)

    #20579B

    oklch(45.8% 0.125 255.7)

  10. Step 900

    900

    #194174

    oklch(37.6% 0.098 256)

  11. Step 950

    950

    #102744

    oklch(27.1% 0.062 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#20579B 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)#355D9E0.028
Deuteranopia (no green cones)#1D529A0.015
Tritanopia (no blue cones)#0067710.095
Achromatopsia (no color)#5757570.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #20579B

    #20579B

    oklch(45.8% 0.125 255.7)

  • #764E00

    #764E00

    oklch(45.7% 0.096 75.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20579B

    #20579B

    oklch(45.8% 0.125 255.7)

  • #00617C

    #00617C

    oklch(45.8% 0.087 225.2)

  • #534A99

    #534A99

    oklch(45.9% 0.124 285.6)

Open the analogous palette in the generator

Split complementary

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

  • #20579B

    #20579B

    oklch(45.8% 0.125 255.7)

  • #8D3B08

    #8D3B08

    oklch(45.7% 0.125 45.5)

  • #5F5A00

    #5F5A00

    oklch(45.8% 0.098 105.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20579B

    #20579B

    oklch(45.8% 0.125 255.7)

  • #903340

    #903340

    oklch(45.8% 0.126 15.3)

  • #356611

    #356611

    oklch(45.8% 0.125 135.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20579B

    #20579B

    oklch(45.8% 0.125 255.7)

  • #863566

    #863566

    oklch(45.7% 0.125 345.9)

  • #764E00

    #764E00

    oklch(45.7% 0.096 75.1)

  • #00684B

    #00684B

    oklch(45.9% 0.095 165.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #20579B 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.