#20546C

Closest named color: Petrol (#005F6A). oklch(42.2% 0.068 231.5), rgb(32, 84, 108).

Aa

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

About this color

#20546C is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.068 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.037 away. White text reads best on it, at 8.24:1.

Hue familyBlues
Lightnessdark (42%)
Chromamuted (0.068)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.54:1
White text8.24:1

Values

HEX#20546C
RGBrgb(32, 84, 108)
HSLhsl(199, 54%, 27%)
OKLCHoklch(42.2% 0.068 231.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 #20546C 8.24:1 AAA Lc -92.9 Preferred for body text
Black text on #20546C 2.54:1 Fails Lc 15.7 Dividers and decoration only
#20546C text on white 8.24:1 AAA Lc 88.3 Fine for body text
#20546C text on black 2.54:1 Fails Lc -13.9 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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CBDCE5

    oklch(88.4% 0.022 230.6)

  4. Step 300

    300

    #A8C6D6

    oklch(81% 0.039 231.2)

  5. Step 400

    400

    #78A8C1

    oklch(70.6% 0.063 231.5)

  6. Step 500

    500

    #5392B2

    oklch(63% 0.081 232.1)

  7. Step 600

    600

    #347C9E

    oklch(55.6% 0.088 232)

  8. Step 700

    700

    #266987

    oklch(49.2% 0.082 231.2)

  9. Step 800

    800 (this color)

    #20546C

    oklch(42.2% 0.068 231.5)

  10. Step 900

    900

    #214759

    oklch(37.8% 0.053 231)

  11. Step 950

    950

    #142934

    oklch(26.9% 0.034 232.8)

Export this scale for Tailwind in the Tailwind colors tool

#20546C 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)#48536D0.045
Deuteranopia (no green cones)#3E4B6C0.040
Tritanopia (no blue cones)#005B5C0.043
Achromatopsia (no color)#4F4F4F0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #20546C

    #20546C

    oklch(42.2% 0.068 231.5)

  • #6B422A

    #6B422A

    oklch(42.1% 0.068 50.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20546C

    #20546C

    oklch(42.2% 0.068 231.5)

  • #0D585D

    #0D585D

    oklch(42.1% 0.067 202)

  • #394E73

    #394E73

    oklch(42.4% 0.067 261.3)

Open the analogous palette in the generator

Split complementary

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

  • #20546C

    #20546C

    oklch(42.2% 0.068 231.5)

  • #6E3E3D

    #6E3E3D

    oklch(42.2% 0.068 21.6)

  • #604A1E

    #604A1E

    oklch(42.3% 0.067 82.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20546C

    #20546C

    oklch(42.2% 0.068 231.5)

  • #6A3E52

    #6A3E52

    oklch(42.3% 0.067 351.6)

  • #4F5122

    #4F5122

    oklch(42.2% 0.068 111.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20546C

    #20546C

    oklch(42.2% 0.068 231.5)

  • #5F4164

    #5F4164

    oklch(42.3% 0.068 321.6)

  • #6B422A

    #6B422A

    oklch(42.1% 0.068 50.4)

  • #385734

    #385734

    oklch(42.2% 0.067 141.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #20546C 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.