#204797

Closest named color: Cobalt (#1E488F). oklch(41.9% 0.139 262.5), rgb(32, 71, 151).

Aa

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

About this color

#204797 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.139 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.014 away. White text reads best on it, at 8.71:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.40:1
White text8.71:1

Values

HEX#204797
RGBrgb(32, 71, 151)
HSLhsl(220, 65%, 36%)
OKLCHoklch(41.9% 0.139 262.5)

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 #204797 8.71:1 AAA Lc -93.9 Preferred for body text
Black text on #204797 2.40:1 Fails Lc 14.6 Not readable
#204797 text on white 8.71:1 AAA Lc 89.4 Fine for body text
#204797 text on black 2.40:1 Fails Lc -12.8 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #C9DAF8

    oklch(88.5% 0.045 261.9)

  4. Step 300

    300

    #A5C1F6

    oklch(80.9% 0.081 263)

  5. Step 400

    400

    #749FF1

    oklch(70.6% 0.13 262.5)

  6. Step 500

    500

    #5085ED

    oklch(63.2% 0.166 262.3)

  7. Step 600

    600

    #356CDB

    oklch(55.7% 0.18 262.4)

  8. Step 700

    700

    #2859BE

    oklch(49.1% 0.168 262.5)

  9. Step 800

    800 (this color)

    #204797

    oklch(41.9% 0.139 262.5)

  10. Step 900

    900

    #203E7A

    oklch(37.6% 0.108 262.4)

  11. Step 950

    950

    #132548

    oklch(27% 0.069 262.3)

Export this scale for Tailwind in the Tailwind colors tool

#204797 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)#10519A0.027
Deuteranopia (no green cones)#0046950.019
Tritanopia (no blue cones)#005A680.107
Achromatopsia (no color)#4B4B4B0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #204797

    #204797

    oklch(41.9% 0.139 262.5)

  • #644700

    #644700

    oklch(41.9% 0.086 81.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #204797

    #204797

    oklch(41.9% 0.139 262.5)

  • #005473

    #005473

    oklch(41.9% 0.085 232)

  • #513890

    #513890

    oklch(41.8% 0.139 292.4)

Open the analogous palette in the generator

Split complementary

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

  • #204797

    #204797

    oklch(41.9% 0.139 262.5)

  • #783800

    #783800

    oklch(41.8% 0.107 52.4)

  • #4E5100

    #4E5100

    oklch(41.8% 0.093 112.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #204797

    #204797

    oklch(41.9% 0.139 262.5)

  • #892127

    #892127

    oklch(42% 0.139 22.7)

  • #065E05

    #065E05

    oklch(41.9% 0.139 142.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #204797

    #204797

    oklch(41.9% 0.139 262.5)

  • #812154

    #812154

    oklch(41.8% 0.139 352.3)

  • #644700

    #644700

    oklch(41.9% 0.086 81.8)

  • #005B48

    #005B48

    oklch(42% 0.081 172.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #204797 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.