#545F8A

Closest named color: Dusky Blue (#475F94). oklch(49.4% 0.07 272.6), rgb(84, 95, 138).

Aa

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

About this color

#545F8A is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.070 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.023 away. White text reads best on it, at 6.21:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.38:1
White text6.21:1

Values

HEX#545F8A
RGBrgb(84, 95, 138)
HSLhsl(228, 24%, 44%)
OKLCHoklch(49.4% 0.07 272.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 #545F8A 6.21:1 AA Lc -86.1 Fine for body text
Black text on #545F8A 3.38:1 AA large text Lc 23.1 Dividers and decoration only
#545F8A text on white 6.21:1 AA Lc 80.9 Fine for body text
#545F8A text on black 3.38:1 AA large text Lc -20.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 700.

  1. Step 50

    50

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7EAF1

    oklch(93.7% 0.01 267.4)

  3. Step 200

    200

    #D5D9E6

    oklch(88.6% 0.018 272.3)

  4. Step 300

    300

    #B9C0D7

    oklch(81% 0.033 272.2)

  5. Step 400

    400

    #959FC3

    oklch(70.7% 0.054 272.8)

  6. Step 500

    500

    #7B87B4

    oklch(63.1% 0.069 272.7)

  7. Step 600

    600

    #6470A0

    oklch(55.5% 0.076 272.9)

  8. Step 700

    700 (this color)

    #545F8A

    oklch(49.4% 0.07 272.6)

  9. Step 800

    800

    #444D6F

    oklch(42.7% 0.058 272.4)

  10. Step 900

    900

    #39405A

    oklch(37.7% 0.046 272.4)

  11. Step 950

    950

    #222635

    oklch(27.2% 0.029 272.8)

Export this scale for Tailwind in the Tailwind colors tool

#545F8A 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)#51638C0.011
Deuteranopia (no green cones)#4C5F890.011
Tritanopia (no blue cones)#44686E0.064
Achromatopsia (no color)#6161610.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #545F8A

    #545F8A

    oklch(49.4% 0.07 272.6)

  • #706130

    #706130

    oklch(49.6% 0.07 92.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #545F8A

    #545F8A

    oklch(49.4% 0.07 272.6)

  • #3C6687

    #3C6687

    oklch(49.4% 0.071 243.6)

  • #695883

    #695883

    oklch(49.4% 0.07 302.1)

Open the analogous palette in the generator

Split complementary

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

  • #545F8A

    #545F8A

    oklch(49.4% 0.07 272.6)

  • #7E5836

    #7E5836

    oklch(49.3% 0.07 61.9)

  • #5A683A

    #5A683A

    oklch(49.4% 0.07 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #545F8A

    #545F8A

    oklch(49.4% 0.07 272.6)

  • #855248

    #855248

    oklch(49.4% 0.071 31.7)

  • #416D4E

    #416D4E

    oklch(49.3% 0.07 152.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #545F8A

    #545F8A

    oklch(49.4% 0.07 272.6)

  • #83505E

    #83505E

    oklch(49.4% 0.071 2.2)

  • #706130

    #706130

    oklch(49.6% 0.07 92.7)

  • #2A6F65

    #2A6F65

    oklch(49.5% 0.071 182.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #545F8A 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.