#204DAF

Closest named color: Blue Blue (#2242C7). oklch(45.1% 0.164 262.9), rgb(32, 77, 175).

Aa

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

About this color

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

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

Values

HEX#204DAF
RGBrgb(32, 77, 175)
HSLhsl(221, 69%, 41%)
OKLCHoklch(45.1% 0.164 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 #204DAF 7.65:1 AAA Lc -90.9 Preferred for body text
Black text on #204DAF 2.74:1 Fails Lc 18.0 Dividers and decoration only
#204DAF text on white 7.65:1 AAA Lc 86.0 Fine for body text
#204DAF text on black 2.74:1 Fails Lc -16.0 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

    #4681FE

    oklch(63% 0.196 263)

  7. Step 600

    600

    #2966EE

    oklch(55.5% 0.215 263.1)

  8. Step 700

    700

    #1D54CF

    oklch(49.1% 0.199 263)

  9. Step 800

    800 (this color)

    #204DAF

    oklch(45.1% 0.164 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

#204DAF 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)#005AB20.034
Deuteranopia (no green cones)#004DAD0.016
Tritanopia (no blue cones)#0065760.127
Achromatopsia (no color)#5353530.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #204DAF

    #204DAF

    oklch(45.1% 0.164 262.9)

  • #6E5000

    #6E5000

    oklch(45.1% 0.093 83.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #204DAF

    #204DAF

    oklch(45.1% 0.164 262.9)

  • #005D81

    #005D81

    oklch(45% 0.094 233.6)

  • #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°).

  • #204DAF

    #204DAF

    oklch(45.1% 0.164 262.9)

  • #853F00

    #853F00

    oklch(45% 0.115 52.5)

  • #565B00

    #565B00

    oklch(45.1% 0.101 113.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #204DAF

    #204DAF

    oklch(45.1% 0.164 262.9)

  • #9D1A26

    #9D1A26

    oklch(45.2% 0.165 23)

  • #006906

    #006906

    oklch(45.2% 0.151 143)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #204DAF

    #204DAF

    oklch(45.1% 0.164 262.9)

  • #941C5D

    #941C5D

    oklch(45.1% 0.164 353.2)

  • #6E5000

    #6E5000

    oklch(45.1% 0.093 83.5)

  • #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 #204DAF, closest first.

Similar named colors

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

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