#204DAE

Closest named color: Blue Blue (#2242C7). oklch(45% 0.163 262.9), rgb(32, 77, 174).

Aa

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

About this color

#204DAE is a medium-dark, vivid blue. In OKLCH its lightness is 45%, its chroma 0.163 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.047 away. White text reads best on it, at 7.68:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromavivid (0.163)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text2.73:1
White text7.68:1

Values

HEX#204DAE
RGBrgb(32, 77, 174)
HSLhsl(221, 69%, 40%)
OKLCHoklch(45% 0.163 262.9)

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 #204DAE 7.68:1 AAA Lc -90.9 Preferred for body text
Black text on #204DAE 2.73:1 Fails Lc 17.9 Dividers and decoration only
#204DAE text on white 7.68:1 AAA Lc 86.1 Fine for body text
#204DAE text on black 2.73:1 Fails Lc -15.9 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EAFD

    oklch(93.5% 0.028 263.4)

  3. Step 200

    200

    #C7DAFD

    oklch(88.5% 0.053 262.7)

  4. Step 300

    300

    #A0C1FF

    oklch(80.9% 0.095 262.7)

  5. Step 400

    400

    #6D9EFF

    oklch(70.8% 0.152 262.8)

  6. Step 500

    500

    #4681FD

    oklch(63% 0.195 262.9)

  7. Step 600

    600

    #2967ED

    oklch(55.7% 0.212 262.8)

  8. Step 700

    700

    #1D54CE

    oklch(49.1% 0.198 262.9)

  9. Step 800

    800 (this color)

    #204DAE

    oklch(45% 0.163 262.9)

  10. Step 900

    900

    #1A3C84

    oklch(37.7% 0.128 262.8)

  11. Step 950

    950

    #10244D

    oklch(27% 0.08 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#204DAE 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)#005AB10.034
Deuteranopia (no green cones)#004DAC0.016
Tritanopia (no blue cones)#0065760.126
Achromatopsia (no color)#5353530.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #204DAE

    #204DAE

    oklch(45% 0.163 262.9)

  • #6E4F00

    #6E4F00

    oklch(44.9% 0.092 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #204DAE

    #204DAE

    oklch(45% 0.163 262.9)

  • #005D80

    #005D80

    oklch(45% 0.093 232.9)

  • #5C3BA6

    #5C3BA6

    oklch(45.1% 0.164 292.8)

Open the analogous palette in the generator

Split complementary

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

  • #204DAE

    #204DAE

    oklch(45% 0.163 262.9)

  • #853F00

    #853F00

    oklch(45% 0.115 52.5)

  • #565A00

    #565A00

    oklch(44.9% 0.1 112.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #204DAE

    #204DAE

    oklch(45% 0.163 262.9)

  • #9C1B26

    #9C1B26

    oklch(45.1% 0.163 23.1)

  • #006905

    #006905

    oklch(45.1% 0.152 142.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #204DAE

    #204DAE

    oklch(45% 0.163 262.9)

  • #931D5D

    #931D5D

    oklch(45% 0.163 353)

  • #6E4F00

    #6E4F00

    oklch(44.9% 0.092 82.4)

  • #006551

    #006551

    oklch(45.2% 0.087 172.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #204DAE 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.