#204DB8

Closest named color: Blue Blue (#2242C7). oklch(45.9% 0.177 263.6), rgb(32, 77, 184).

Aa

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

About this color

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

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

Values

HEX#204DB8
RGBrgb(32, 77, 184)
HSLhsl(222, 70%, 42%)
OKLCHoklch(45.9% 0.177 263.6)

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 #204DB8 7.45:1 AAA Lc -90.2 Preferred for body text
Black text on #204DB8 2.81:1 Fails Lc 18.7 Dividers and decoration only
#204DB8 text on white 7.45:1 AAA Lc 85.3 Fine for body text
#204DB8 text on black 2.81:1 Fails Lc -16.7 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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C6DAFF

    oklch(88.5% 0.056 262.8)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6E9DFF

    oklch(70.6% 0.153 263.6)

  6. Step 500

    500

    #4881FF

    oklch(63.2% 0.197 263.5)

  7. Step 600

    600

    #2663F6

    oklch(55.6% 0.229 263.5)

  8. Step 700

    700

    #1A50D7

    oklch(49% 0.214 263.7)

  9. Step 800

    800 (this color)

    #204DB8

    oklch(45.9% 0.177 263.6)

  10. Step 900

    900

    #193A89

    oklch(37.6% 0.138 263.8)

  11. Step 950

    950

    #0F2350

    oklch(27% 0.087 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#204DB8 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)#005CBC0.038
Deuteranopia (no green cones)#004EB60.015
Tritanopia (no blue cones)#00687B0.136
Achromatopsia (no color)#5555550.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #204DB8

    #204DB8

    oklch(45.9% 0.177 263.6)

  • #705200

    #705200

    oklch(45.8% 0.094 84.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #204DB8

    #204DB8

    oklch(45.9% 0.177 263.6)

  • #005F84

    #005F84

    oklch(45.7% 0.096 233.9)

  • #6039AE

    #6039AE

    oklch(45.8% 0.176 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #204DB8

    #204DB8

    oklch(45.9% 0.177 263.6)

  • #874200

    #874200

    oklch(45.9% 0.115 54)

  • #585D00

    #585D00

    oklch(45.8% 0.102 113.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #204DB8

    #204DB8

    oklch(45.9% 0.177 263.6)

  • #A41021

    #A41021

    oklch(45.9% 0.177 23.8)

  • #006B0E

    #006B0E

    oklch(45.8% 0.15 143.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #204DB8

    #204DB8

    oklch(45.9% 0.177 263.6)

  • #9B145F

    #9B145F

    oklch(46% 0.177 353.7)

  • #705200

    #705200

    oklch(45.8% 0.094 84.1)

  • #006753

    #006753

    oklch(45.8% 0.088 173.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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