#42547E

Closest named color: Dusk (#4E5481). oklch(45% 0.073 265.9), rgb(66, 84, 126).

Aa

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

About this color

#42547E is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.073 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.018 away. White text reads best on it, at 7.49:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.80:1
White text7.49:1

Values

HEX#42547E
RGBrgb(66, 84, 126)
HSLhsl(222, 31%, 38%)
OKLCHoklch(45% 0.073 265.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 #42547E 7.49:1 AAA Lc -90.8 Preferred for body text
Black text on #42547E 2.80:1 Fails Lc 18.0 Dividers and decoration only
#42547E text on white 7.49:1 AAA Lc 86.0 Fine for body text
#42547E text on black 2.80:1 Fails Lc -16.1 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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200

    #D2D9E9

    oklch(88.5% 0.023 266.9)

  4. Step 300

    300

    #B4C1DD

    oklch(81% 0.042 265.7)

  5. Step 400

    400

    #8DA0CC

    oklch(70.7% 0.068 266.5)

  6. Step 500

    500

    #7088BF

    oklch(63% 0.088 265.8)

  7. Step 600

    600

    #5971AB

    oklch(55.5% 0.095 266.3)

  8. Step 700

    700

    #495F93

    oklch(49.2% 0.088 265.8)

  9. Step 800

    800 (this color)

    #42547E

    oklch(45% 0.073 265.9)

  10. Step 900

    900

    #334160

    oklch(37.7% 0.057 265.2)

  11. Step 950

    950

    #1E2638

    oklch(27% 0.036 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#42547E 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)#4558800.013
Deuteranopia (no green cones)#3E527D0.009
Tritanopia (no blue cones)#2B5D630.066
Achromatopsia (no color)#5555550.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #42547E

    #42547E

    oklch(45% 0.073 265.9)

  • #675220

    #675220

    oklch(44.9% 0.073 86.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42547E

    #42547E

    oklch(45% 0.073 265.9)

  • #275B78

    #275B78

    oklch(44.9% 0.073 236)

  • #594D79

    #594D79

    oklch(45.1% 0.072 295.9)

Open the analogous palette in the generator

Split complementary

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

  • #42547E

    #42547E

    oklch(45% 0.073 265.9)

  • #744A2B

    #744A2B

    oklch(45% 0.073 56.1)

  • #535A28

    #535A28

    oklch(44.9% 0.073 116)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42547E

    #42547E

    oklch(45% 0.073 265.9)

  • #794540

    #794540

    oklch(45.1% 0.073 26.2)

  • #39603C

    #39603C

    oklch(45% 0.073 146)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42547E

    #42547E

    oklch(45% 0.073 265.9)

  • #754457

    #754457

    oklch(45.1% 0.072 355.6)

  • #675220

    #675220

    oklch(44.9% 0.073 86.2)

  • #1C6254

    #1C6254

    oklch(44.9% 0.072 176.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42547E 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.